mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 12:52:14 +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
|
* allocation, because apparently some code above Clutter allows
|
||||||
* them.
|
* 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;
|
continue;
|
||||||
|
|
||||||
child_volume = clutter_actor_get_transformed_paint_volume (child, self);
|
child_volume = clutter_actor_get_transformed_paint_volume (child, self);
|
||||||
|
Loading…
Reference in New Issue
Block a user