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



commit 5cdca80c0c97383df7d10b3d2f55583167f64179
Author: Alex Samorukov <samm net-art cz>
Date:   Fri Jan 3 17:54:12 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]