mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 09:29:25 +00:00
9b39e37fee
With commit 0eab73dc2e we introduced an optimization of not doing allocations for actors which are hidden. This broke the propagation of absolute origin changes to hidden actors, so if an actor is moved while its child is hidden, the child will not get priv->needs_compute_resource_scale set to TRUE, which means the resource scale won't be updated when the child gets mapped and shown again. Since we now have priv->absolute_origin_changed, we can simply check whether that is TRUE for our parent before bailing out of clutter_actor_allocate() and if it is, notify the whole hidden sub-tree about the absolute origin change. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1247