[gtk/wip/chergert/quartz4u: 90/146] macos: clear present bit when hiding



commit 9b92818b0045ac8b6a4cfd4d79eba26e5dd1511e
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]