[gtk/wip/chergert/quartz4u] macos: invalidate rect when presenting



commit d5ea0048376a068c6a4c73fdfc81753744504015
Author: Christian Hergert <chergert redhat com>
Date:   Mon May 4 18:26:09 2020 -0700

    macos: invalidate rect when presenting

 gdk/macos/gdkmacostoplevelsurface.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gdk/macos/gdkmacostoplevelsurface.c b/gdk/macos/gdkmacostoplevelsurface.c
index 08225410a0..2c28a5f538 100644
--- a/gdk/macos/gdkmacostoplevelsurface.c
+++ b/gdk/macos/gdkmacostoplevelsurface.c
@@ -140,6 +140,8 @@ _gdk_macos_toplevel_surface_present (GdkToplevel       *toplevel,
   /* Now present the window */
   [(GdkMacosWindow *)window showAndMakeKey:YES];
 
+  gdk_surface_invalidate_rect (GDK_SURFACE (self), NULL);
+
   g_print ("Made window key\n");
 
   return TRUE;


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