mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 14:53:03 +00:00
Don't allocate size to invisible BinLayout children
This is similar to what other layouts do, and avoids problems with Gtk+ actor children which warn about being allocated not enough space.
This commit is contained in:
parent
76f1a42ef8
commit
c0b3e2e83a
@ -456,6 +456,9 @@ clutter_bin_layout_allocate (ClutterLayoutManager *manager,
|
|||||||
gdouble x_align, y_align;
|
gdouble x_align, y_align;
|
||||||
gboolean x_fill, y_fill, is_set;
|
gboolean x_fill, y_fill, is_set;
|
||||||
|
|
||||||
|
if (!CLUTTER_ACTOR_IS_VISIBLE (child))
|
||||||
|
continue;
|
||||||
|
|
||||||
meta = clutter_layout_manager_get_child_meta (manager,
|
meta = clutter_layout_manager_get_child_meta (manager,
|
||||||
container,
|
container,
|
||||||
child);
|
child);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user