[mutter] window-actor/x11: Update opaque region
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window-actor/x11: Update opaque region
- Date: Mon, 17 Feb 2020 23:44:28 +0000 (UTC)
commit 76e0d7293d736c4d329e314b13f0a962ed46765b
Author: Olivier Fourdan <ofourdan redhat com>
Date: Mon Feb 17 16:49:52 2020 +0100
window-actor/x11: Update opaque region
Now that the opaque region is not reset by the Wayland actor surface, we
need to update the opaque region just like we do for input region.
That fixes a regression with client-side decoration X11 windows running
in Xwayland.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1060
Closes: https://gitlab.gnome.org/GNOME/mutter/issues/1043
src/compositor/meta-window-actor-x11.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/compositor/meta-window-actor-x11.c b/src/compositor/meta-window-actor-x11.c
index 4f20336d8..1bef22530 100644
--- a/src/compositor/meta-window-actor-x11.c
+++ b/src/compositor/meta-window-actor-x11.c
@@ -1138,7 +1138,10 @@ handle_updates (MetaWindowActorX11 *actor_x11)
* which causes the shadows to look bad.
*/
if (surface && meta_window_x11_always_update_shape (window))
- update_shape_region (actor_x11);
+ {
+ update_opaque_region (actor_x11);
+ update_shape_region (actor_x11);
+ }
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]