From: Paul Cornett Date: Wed, 7 Nov 2012 17:58:23 +0000 (+0000) Subject: update fullscreen state when it is changed by the WM X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ae41d7465423e99649b5d7477719c62230f29bc4 update fullscreen state when it is changed by the WM git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index 4ca00b32be..0fb82f4d64 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -382,6 +382,9 @@ gtk_frame_window_state_callback( GtkWidget* WXUNUSED(widget), win->HandleWindowEvent(evt); } + if (event->changed_mask & GDK_WINDOW_STATE_FULLSCREEN) + win->m_fsIsShowing = (event->new_window_state & GDK_WINDOW_STATE_FULLSCREEN) != 0; + return false; } }