mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
clutter/actor: Check for clones in finish_layout()
This does not fix any known bug but should help ensuring correctness when clones are used. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2530>
This commit is contained in:
parent
01b96d6674
commit
b64d699709
@ -16030,7 +16030,8 @@ clutter_actor_finish_layout (ClutterActor *self,
|
||||
ClutterActorPrivate *priv = self->priv;
|
||||
ClutterActor *child;
|
||||
|
||||
if (!CLUTTER_ACTOR_IS_MAPPED (self) ||
|
||||
if ((!CLUTTER_ACTOR_IS_MAPPED (self) &&
|
||||
!clutter_actor_has_mapped_clones (self)) ||
|
||||
CLUTTER_ACTOR_IN_DESTRUCTION (self))
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user