mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
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>
This commit is contained in:
parent
f4b11eee2f
commit
881249c792
4 changed files with 33 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue