* clutter/clutter-actor.c (clutter_actor_allocate): Fixed the
authorNeil Roberts <neil@openedhand.com>
Wed, 11 Jun 2008 17:12:29 +0000 (17:12 +0000)
committerNeil Roberts <neil@openedhand.com>
Wed, 11 Jun 2008 17:12:29 +0000 (17:12 +0000)
logic when detecting whether the actor has moved.

ChangeLog
clutter/clutter-actor.c

index e0b9612..bf2e09b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index b2c4316..4bc2472 100644 (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