From c7c223fc0843bc3342935f14a2d893206b89c92d Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Mon, 10 Jun 2013 20:00:01 +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 --- 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 4307b5fe88..f1d79f92a4 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 -- cgit v1.2.1