From a5a0171cb02dcbd67efbf87480aa5cea215c128d Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 26 Oct 2009 15:09:07 +0000 Subject: [PATCH] box: Depth level changes should queue a relayout ClutterBox is not ClutterGroup: a change in the level of an actor through raise, lower or depth sorting must trigger a relayout. --- clutter/clutter-box.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clutter/clutter-box.c b/clutter/clutter-box.c index 921192140..fd79edaa3 100644 --- a/clutter/clutter-box.c +++ b/clutter/clutter-box.c @@ -183,7 +183,7 @@ clutter_box_real_raise (ClutterContainer *container, priv->children = g_list_insert (priv->children, actor, index_); } - clutter_actor_queue_redraw (CLUTTER_ACTOR (container)); + clutter_actor_queue_relayout (CLUTTER_ACTOR (container)); } static void @@ -204,7 +204,7 @@ clutter_box_real_lower (ClutterContainer *container, priv->children = g_list_insert (priv->children, actor, index_); } - clutter_actor_queue_redraw (CLUTTER_ACTOR (container)); + clutter_actor_queue_relayout (CLUTTER_ACTOR (container)); } static void @@ -214,7 +214,7 @@ clutter_box_real_sort_depth_order (ClutterContainer *container) priv->children = g_list_sort (priv->children, sort_by_depth); - clutter_actor_queue_redraw (CLUTTER_ACTOR (container)); + clutter_actor_queue_relayout (CLUTTER_ACTOR (container)); } static void