mirror of
https://github.com/brl/mutter.git
synced 2025-03-08 04:15:05 +00:00
clutter-actor: Redraw or relayout when clearing effects or constraints
When calling clutter_actor_clear_constraints the layout of the actor may change so we need to queue a relayout. Similarly when the effects are cleared we need to queue a redraw.
This commit is contained in:
parent
9423214783
commit
8df8d4ff0f
@ -11495,6 +11495,8 @@ clutter_actor_clear_constraints (ClutterActor *self)
|
||||
return;
|
||||
|
||||
_clutter_meta_group_clear_metas_no_internal (self->priv->constraints);
|
||||
|
||||
clutter_actor_queue_relayout (self);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -11751,6 +11753,8 @@ clutter_actor_clear_effects (ClutterActor *self)
|
||||
return;
|
||||
|
||||
_clutter_meta_group_clear_metas_no_internal (self->priv->effects);
|
||||
|
||||
clutter_actor_queue_redraw (self);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user