1
0
Fork 0
mutter-performance-source/clutter
Florian Müllner 9f46258ff9 clutter/actor: Make sure expand_set flags are set correctly
If an actor's expand properties haven't been set explicitly, its
expand flags are computed by traversing its children.

However we currently also traverse into children when explicitly
setting "expand" to FALSE, because that is the default value and
the properties are only marked as explicitly-set when the value
actually changed.

Fix this, so propagating expand flags can be stopped without
hacks like
```c
  g_object_set (actor, "x-expand", TRUE, NULL);
  g_object_set (actor, "x-expand", FALSE, NULL);
``

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3088>
2023-06-22 21:58:23 +02:00
..
clutter clutter/actor: Make sure expand_set flags are set correctly 2023-06-22 21:58:23 +02:00
.gitignore clutter: Remove clutter specific version 2018-11-06 17:17:36 +01:00
meson.build build: Use / operator instead of join_paths everywhere 2023-05-04 12:35:38 +00:00