diff --git a/ChangeLog b/ChangeLog index e0b96125f..bf2e09b42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-11 Neil Roberts + + * clutter/clutter-actor.c (clutter_actor_allocate): Fixed the + logic when detecting whether the actor has moved. + 2008-06-11 Iain Holmes * configure.ac: Detect the GL headers in flavour=fruity diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index b2c431658..4bc247270 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -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