* clutter/clutter-actor.c (clutter_actor_allocate): Fixed the
logic when detecting whether the actor has moved.
This commit is contained in:
parent
04df29dbd4
commit
3d1d677902
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user