[gtk/gtk-3-24-fix-fullscreen-state] Fix typo which preventing fullscreen state from being updated correctly



commit 3e6631f90261bbeafa434580bfbc9a46c0d4dcee
Author: Alex Samorukov <samm net-art cz>
Date:   Fri Jan 3 11:56:51 2020 +0000

    Fix typo which preventing fullscreen state from being updated correctly

 gdk/quartz/gdkwindow-quartz.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 2404d3d386..eb4ec690e8 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -2860,7 +2860,7 @@ _gdk_quartz_window_update_fullscreen_state (GdkWindow *window)
   if (gdk_quartz_osx_version() >= GDK_OSX_LION)
     {
       gboolean is_fullscreen = window_is_fullscreen (window);
-      gboolean was_fullscreen = (gdk_window_get_state (window) &&
+      gboolean was_fullscreen = (gdk_window_get_state (window) &
                                  GDK_WINDOW_STATE_FULLSCREEN != 0);
 
       if (is_fullscreen != was_fullscreen)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]