From: David Edmundson Date: Fri, 1 Oct 2021 12:28:00 +0000 (+0100) Subject: wayland: Mark opaque_region as dirty on hide X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=faba06516112df0dbdd36fc20e9d62ce82ec1036;p=gtk4.git wayland: Mark opaque_region as dirty on hide 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. --- diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c index 84ec54a335..bfc0a0cc04 100644 --- a/gdk/wayland/gdksurface-wayland.c +++ b/gdk/wayland/gdksurface-wayland.c @@ -3009,6 +3009,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);