[gtk/wip/chergert/for-main: 5/6] macos: invalidate surface when showing
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/for-main: 5/6] macos: invalidate surface when showing
- Date: Tue, 1 Mar 2022 09:16:34 +0000 (UTC)
commit cee6748ab396586910df5a47c28e03f4c9d7998c
Author: Christian Hergert <christian hergert me>
Date: Tue Mar 1 00:23:12 2022 -0800
macos: invalidate surface when showing
gdk/macos/gdkmacossurface.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gdk/macos/gdkmacossurface.c b/gdk/macos/gdkmacossurface.c
index ff970c74c9..04c56e0704 100644
--- a/gdk/macos/gdkmacossurface.c
+++ b/gdk/macos/gdkmacossurface.c
@@ -919,6 +919,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]