7abf0f1e2d
When getting the last allocation using clutter_actor_get_allocation_box(), Clutter will do an immediate relayout of the stage in case an actor has an invalid allocation. Since the allocation is always invalid when the allocate() vfunc is called, clutter_stage_allocate() always forces another allocation cycle. To fix that, stop comparing the old allocation to the new one to find out whether the viewport changed, but instead use the existing check in _clutter_stage_set_viewport() and implement the behavior of rounding the viewport to the nearest int using roundf() (which should behave just as CLUTTER_NEARBYINT()) since we're passing around floats anyway. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1247 |
||
---|---|---|
.. | ||
clutter | ||
.gitignore | ||
meson.build |