summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorPeter Wu <lekensteyn@gmail.com>2013-06-10 20:00:01 +0200
committerPeter Wu <lekensteyn@gmail.com>2013-06-10 20:03:03 +0200
commitc7c223fc0843bc3342935f14a2d893206b89c92d (patch)
tree510196572ae656323daa4aa8e20d094d96e9e1d3 /vl.c
parent7387de16d0e4d2988df350926537cd12a8e34206 (diff)
downloadqemu-c7c223fc0843bc3342935f14a2d893206b89c92d.tar.gz
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>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 47ab45d37a..cfd2d3e822 100644
--- a/vl.c
+++ b/vl.c
@@ -4347,7 +4347,7 @@ int main(int argc, char **argv, char **envp)
#endif
#if defined(CONFIG_GTK)
case DT_GTK:
- gtk_display_init(ds);
+ gtk_display_init(ds, full_screen);
break;
#endif
default: