diff --git a/src/st/st-box-layout.c b/src/st/st-box-layout.c index 2872eca7b..85fff5df7 100644 --- a/src/st/st-box-layout.c +++ b/src/st/st-box-layout.c @@ -638,6 +638,10 @@ st_box_layout_allocate (ClutterActor *actor, for (l = priv->children; l; l = l->next) { gboolean expand; + + if (!CLUTTER_ACTOR_IS_VISIBLE (l->data)) + continue; + clutter_container_child_get ((ClutterContainer *) actor, (ClutterActor*) l->data, "expand", &expand,