]> git.saurik.com Git - wxWidgets.git/commitdiff
update fullscreen state when it is changed by the WM
authorPaul Cornett <paulcor@bullseye.com>
Wed, 7 Nov 2012 17:58:23 +0000 (17:58 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Wed, 7 Nov 2012 17:58:23 +0000 (17:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/toplevel.cpp

index 4ca00b32be3416a0fdb87cdb8230703d4ec25913..0fb82f4d64fa6274556ccd09434b6ef4d33e106f 100644 (file)
@@ -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;
 }
 }