[mutter] clutter/actor: Check for clones in finish_layout()
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] clutter/actor: Check for clones in finish_layout()
- Date: Tue, 26 Jul 2022 22:32:39 +0000 (UTC)
commit b64d6997093eeee8e37515982fd2d9f4f0dd42e1
Author: Robert Mader <robert mader posteo de>
Date: Mon Jul 25 21:48:02 2022 +0200
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>
clutter/clutter/clutter-actor.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/clutter/clutter/clutter-actor.c b/clutter/clutter/clutter-actor.c
index 0e0d622bdf..d6c798647f 100644
--- a/clutter/clutter/clutter-actor.c
+++ b/clutter/clutter/clutter-actor.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]