[gtk/wip/chergert/quartz4u: 83/142] macos: clear present bit when hiding



commit 1ac72521df85b6618c730e088a12160e0d0b4ca3
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]