diff --git a/ChangeLog b/ChangeLog index d41ed8cbf..b33e04925 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-05-02 Emmanuele Bassi + + Bug #900 - clutter_actor_lower() and friends do not queue redraw + + * clutter/clutter-actor.c: + (clutter_actor_raise), + (clutter_actor_lower): Queue a redraw after raising and lowering + and actor in the paint order stack. (#900) + 2008-05-01 Richard Purdie * configure.ac: diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index 572389033..27dd805d1 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -4392,6 +4392,9 @@ clutter_actor_raise (ClutterActor *self, } clutter_container_raise_child (CLUTTER_CONTAINER (parent), self, below); + + if (CLUTTER_ACTOR_IS_VISIBLE (self)) + clutter_actor_queue_redraw (self); } /** @@ -4431,6 +4434,9 @@ clutter_actor_lower (ClutterActor *self, } clutter_container_lower_child (CLUTTER_CONTAINER (parent), self, above); + + if (CLUTTER_ACTOR_IS_VISIBLE (self)) + clutter_actor_queue_redraw (self); } /**