projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49a64da
)
wayland: Mark opaque_region as dirty on hide
author
David Edmundson
<davidedmundson@kde.org>
Fri, 1 Oct 2021 12:28:00 +0000
(13:28 +0100)
committer
David Edmundson
<kde@davidedmundson.co.uk>
Mon, 11 Oct 2021 11:34:53 +0000
(12:34 +0100)
Otherwise if we hide and show a window we recreate a new surface,
breaking the compositor's association, but potentially not resend this
data for the new surface.
This matches what we do for input_region.
gdk/wayland/gdksurface-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdksurface-wayland.c
b/gdk/wayland/gdksurface-wayland.c
index 0a02cede9194c02fa983d2f99439062d7ab38c31..21b8be7f0c62f75ab8c2bff8e49d12fbc8b70680 100644
(file)
--- a/
gdk/wayland/gdksurface-wayland.c
+++ b/
gdk/wayland/gdksurface-wayland.c
@@
-3004,6
+3004,7
@@
gdk_wayland_surface_hide_surface (GdkSurface *surface)
impl->has_uncommitted_ack_configure = FALSE;
impl->input_region_dirty = TRUE;
+ impl->opaque_region_dirty = TRUE;
unset_transient_for_exported (surface);