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
This commit is contained in:
Olivier Fourdan 2020-02-17 16:49:52 +01:00 committed by Robert Mader
parent 0e0afa240e
commit 76e0d7293d

View File

@ -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_opaque_region (actor_x11);
update_shape_region (actor_x11);
}
return;
}