From 0aabf47f095e5545ed29fcf70efc0869b4e37d40 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 2 Mar 2022 00:48:06 -0800 Subject: [PATCH] macos: invalidate surface contents when mapping --- gdk/macos/gdkmacossurface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gdk/macos/gdkmacossurface.c b/gdk/macos/gdkmacossurface.c index bca3c9210a..4357fbf1a9 100644 --- a/gdk/macos/gdkmacossurface.c +++ b/gdk/macos/gdkmacossurface.c @@ -884,6 +884,7 @@ _gdk_macos_surface_show (GdkMacosSurface *self) { gdk_surface_set_is_mapped (GDK_SURFACE (self), TRUE); gdk_surface_request_layout (GDK_SURFACE (self)); + gdk_surface_invalidate_rect (GDK_SURFACE (self), NULL); gdk_surface_thaw_updates (GDK_SURFACE (self)); } }