summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/animation.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/animation.c b/src/animation.c
index a29b34ad..392e32dc 100644
--- a/src/animation.c
+++ b/src/animation.c
@@ -458,8 +458,10 @@ weston_move_scale_run(struct weston_view *view, int dx, int dy,
if (animation == NULL)
return NULL;
- weston_spring_init(&animation->spring, 400.0, start, end);
+ weston_spring_init(&animation->spring, 400.0, 0.0, 1.0);
animation->spring.friction = 1150;
+ weston_view_animation_run(animation);
+
return animation;
}