projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7d0b91
)
macos: invalidate surface contents when mapping
author
Christian Hergert
<christian@hergert.me>
Wed, 2 Mar 2022 08:48:06 +0000
(
00:48
-0800)
committer
Christian Hergert
<christian@hergert.me>
Wed, 2 Mar 2022 08:48:06 +0000
(
00:48
-0800)
gdk/macos/gdkmacossurface.c
patch
|
blob
|
history
diff --git
a/gdk/macos/gdkmacossurface.c
b/gdk/macos/gdkmacossurface.c
index 948f08c1878fe57a95bca6ea66e056f357cc85ca..add5f15db7673f7f5cf5459df4b7a6cc4eef783c 100644
(file)
--- a/
gdk/macos/gdkmacossurface.c
+++ b/
gdk/macos/gdkmacossurface.c
@@
-910,6
+910,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));
}
}