mirror of
https://github.com/brl/mutter.git
synced 2025-02-26 09:44:10 +00:00

We're going to refactor resource scales, making the notification of changes to the resource scale a lot more important than it is right now (we won't guarantee queried scales are correct outside the paint cycle anymore). Having a separate signal/vfunc for this will make the difference between the new clutter_actor_get_resource_scale() API (which can return a guessed value) and the notification of changes to the resource scale (which will be guaranteed to return an up-to-date value) more obvious. So replace the "resource-scale" property of ClutterActor with a "resource-scale-changed" signal that's emitted when the resource scale is recalculated. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1276