mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
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:
parent
0e0afa240e
commit
76e0d7293d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user