[gtk/wip/chergert/for-4-6: 37/56] macos: invalidate surface contents when mapping
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/for-4-6: 37/56] macos: invalidate surface contents when mapping
- Date: Wed, 16 Mar 2022 19:25:45 +0000 (UTC)
commit 0aabf47f095e5545ed29fcf70efc0869b4e37d40
Author: Christian Hergert <christian hergert me>
Date: Wed Mar 2 00:48:06 2022 -0800
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));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]