aboutsummaryrefslogtreecommitdiff
path: root/include/ui
diff options
context:
space:
mode:
authorPeter Wu <lekensteyn@gmail.com>2013-06-10 20:04:43 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2013-06-11 23:45:44 +0400
commit787ba4f026f54d4fc7787078b896f9c5432c9a9b (patch)
tree92cc05acd31cde2aaac8b470ee11ea6b1125aea3 /include/ui
parentb5601df7624b461759651c49ac72a189951780b9 (diff)
downloadqemu-787ba4f026f54d4fc7787078b896f9c5432c9a9b.zip
qemu-787ba4f026f54d4fc7787078b896f9c5432c9a9b.tar.gz
qemu-787ba4f026f54d4fc7787078b896f9c5432c9a9b.tar.bz2
gtk: implement -full-screen
Aiming for GTK as replacement for SDL, a feature like -full-screen should also be implemented. Bringing the window into full-screen mode is done by activating the "Fullscreen" menu item. This is done after showing the windows to make the cursor and menu hidden. v2: drop -no-frame implementation, use booleans instead of ints and ensure consistency between ui state and menu. Signed-off-by: Peter Wu <lekensteyn@gmail.com> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/ui')
-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 4307b5f..f1d79f9 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -339,6 +339,6 @@ int index_from_keycode(int code);
/* gtk.c */
void early_gtk_display_init(void);
-void gtk_display_init(DisplayState *ds);
+void gtk_display_init(DisplayState *ds, bool full_screen);
#endif