mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
window-actor/X11: Update shape, input and opaque region in order
As they depend on each other to be correct, we should set all of them in the correct order. As we do already have a function for that, use it. https://gitlab.gnome.org/GNOME/mutter/merge_requests/1091
This commit is contained in:
parent
8abdf16a39
commit
adc38f902a
@ -1138,10 +1138,7 @@ 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);
|
||||
}
|
||||
check_needs_reshape (actor_x11);
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user