summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Kiszka2014-03-12 08:33:50 +0100
committerGerd Hoffmann2014-03-17 14:33:55 +0100
commit881249c79292b6883ecf4bdb79c11cc7dbdb4878 (patch)
tree54e7b7a97908429b354a07f249f12959f863b5ed /include
parentMakefile: Fix "make clean" (diff)
downloadqemu-881249c79292b6883ecf4bdb79c11cc7dbdb4878.tar.gz
qemu-881249c79292b6883ecf4bdb79c11cc7dbdb4878.tar.xz
qemu-881249c79292b6883ecf4bdb79c11cc7dbdb4878.zip
gtk: Allow to activate grab-on-hover from the command line
As long as we have no persistent GTK configuration, this allows to enable the useful grab-on-hover feature already when starting the VM. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> [ kraxel: fix warning with CONFIG_GTK=n ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/ui/console.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index 08a38eab13..8a866176db 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -345,6 +345,6 @@ int index_from_key(const char *key);
/* gtk.c */
void early_gtk_display_init(void);
-void gtk_display_init(DisplayState *ds, bool full_screen);
+void gtk_display_init(DisplayState *ds, bool full_screen, bool grab_on_hover);
#endif