* clutter/clutter-actor.c (clutter_actor_allocate): Fixed the

logic when detecting whether the actor has moved.
This commit is contained in:
Neil Roberts 2008-06-11 17:12:29 +00:00
parent 04df29dbd4
commit 3d1d677902
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-06-11 Neil Roberts <neil@o-hand.com>
* clutter/clutter-actor.c (clutter_actor_allocate): Fixed the
logic when detecting whether the actor has moved.
2008-06-11 Iain Holmes <iain@openedhand.com>
* configure.ac: Detect the GL headers in flavour=fruity

View File

@ -3442,8 +3442,8 @@ clutter_actor_allocate (ClutterActor *self,
priv = self->priv;
klass = CLUTTER_ACTOR_GET_CLASS (self);
child_moved = (box->x1 == priv->allocation.x1 ||
box->y1 == priv->allocation.y1);
child_moved = (box->x1 != priv->allocation.x1 ||
box->y1 != priv->allocation.y1);
/* If we get an allocation "out of the blue"
* (we did not queue relayout), then we want to