mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
compositor: recompute shape when surface is changed
Anytime the surface is changed, we need to rebuild our masks and recalculate our shapes since the new surface may have a different size. If the actor gets redrawn for any reason before that computation happens then it will misrender. This commit makes sure we do the recomputation right away, before any painting might occur.
This commit is contained in:
parent
3488015d17
commit
c21d12c4ac
@ -296,6 +296,7 @@ surface_size_changed (MetaSurfaceActor *actor,
|
||||
MetaWindowActor *self = META_WINDOW_ACTOR (user_data);
|
||||
|
||||
meta_window_actor_update_shape (self);
|
||||
meta_window_actor_handle_updates (self);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user