From 787ba4f026f54d4fc7787078b896f9c5432c9a9b Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Mon, 10 Jun 2013 20:04:43 +0200 Subject: 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 Reviewed-by: Anthony Liguori Signed-off-by: Michael Tokarev --- vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vl.c') diff --git a/vl.c b/vl.c index 180fddea39..169c8072aa 100644 --- a/vl.c +++ b/vl.c @@ -4348,7 +4348,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: -- cgit v1.2.3-55-g7522