mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
clutter/actor: Check for clones in update_default_paint_volume()
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
b64d699709
commit
e7a64db51a
@ -5769,7 +5769,9 @@ clutter_actor_update_default_paint_volume (ClutterActor *self,
|
||||
* allocation, because apparently some code above Clutter allows
|
||||
* them.
|
||||
*/
|
||||
if (!CLUTTER_ACTOR_IS_MAPPED (child) || !clutter_actor_has_allocation (child))
|
||||
if ((!CLUTTER_ACTOR_IS_MAPPED (child) &&
|
||||
!clutter_actor_has_mapped_clones (child)) ||
|
||||
!clutter_actor_has_allocation (child))
|
||||
continue;
|
||||
|
||||
child_volume = clutter_actor_get_transformed_paint_volume (child, self);
|
||||
|
Loading…
Reference in New Issue
Block a user