24d7a7ad0b
The CLUTTER_DELEGATE_LAYOUT flag is unintuitive and makes the allocation process inside Clutter unnecessarily complicated. It's very easy for actors overriding the allocate() vfunc to layout their children themselves (in fact most of them do this), and it also never made sense that clutter_actor_set_allocation() does eventually layout children. There was no ClutterActor implementation in mutter or gnome-shell which actually used the DELEGATE_LAYOUT flag, but even without it, it's fairly easy to archive the same behavior now: In the allocate() override, adjust the allocation as wanted, then chain up to the parent vfunc without calling clutter_actor_set_allocation(). So remove the CLUTTER_DELEGATE_LAYOUT flag, which will allow making the relayout code in Clutter a bit easier to follow. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1245 |
||
---|---|---|
.. | ||
clutter | ||
.gitignore | ||
meson.build |