[gtk/gtk-3-24: 1/2] Fix was_fullscreen flag (again!)



commit 2406badb92bf4c620af754d7c165eed4ced06005
Author: Alex Samorukov <samm net-art cz>
Date:   Wed Jan 8 13:56:10 2020 +0000

    Fix was_fullscreen flag (again!)

 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 eb4ec690e8..74705a37cf 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -2861,7 +2861,7 @@ _gdk_quartz_window_update_fullscreen_state (GdkWindow *window)
     {
       gboolean is_fullscreen = window_is_fullscreen (window);
       gboolean was_fullscreen = (gdk_window_get_state (window) &
-                                 GDK_WINDOW_STATE_FULLSCREEN != 0);
+                                 GDK_WINDOW_STATE_FULLSCREEN) != 0;
 
       if (is_fullscreen != was_fullscreen)
         {


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