[gtk/wip/chergert/quartz4u: 76/120] macos: clear present bit when hiding



commit 00f9cd4c17f22f5d408730ed3e601ca86f81f54d
Author: Christian Hergert <chergert redhat com>
Date:   Tue May 19 17:28:48 2020 -0700

    macos: clear present bit when hiding

 gdk/macos/gdkmacossurface.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gdk/macos/gdkmacossurface.c b/gdk/macos/gdkmacossurface.c
index 5509b00293..e07e5a698d 100644
--- a/gdk/macos/gdkmacossurface.c
+++ b/gdk/macos/gdkmacossurface.c
@@ -95,6 +95,8 @@ gdk_macos_surface_hide (GdkSurface *surface)
 
   [self->window hide];
 
+  self->did_initial_present = FALSE;
+
   _gdk_surface_clear_update_area (surface);
 }
 


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