From 881249c79292b6883ecf4bdb79c11cc7dbdb4878 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 12 Mar 2014 08:33:50 +0100 Subject: 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 [ kraxel: fix warning with CONFIG_GTK=n ] Signed-off-by: Gerd Hoffmann --- include/ui/console.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ui/console.h') diff --git a/include/ui/console.h b/include/ui/console.h index 08a38ea..8a86617 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 -- cgit v1.1