summaryrefslogtreecommitdiff
path: root/src/animation.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-10-30 09:07:04 -0700
committerKristian Høgsberg <krh@bitplanet.net>2013-10-30 09:07:04 -0700
commit90dfb11428f233ae7a8a455dc773099c80bb5287 (patch)
treee8598ee2d50348ebd2caf05e4820b1dcdad4087e /src/animation.c
parent912e0a117acf632b90ea1a883c2390c526fd44c0 (diff)
downloadweston-90dfb11428f233ae7a8a455dc773099c80bb5287.tar.gz
animation.c: Schedule a repaint when the animation is done
Otherwise we don't repaint with the final state of the surface and we're stuck with the second-to-last frame of the animation until something else (moving the mouse or such) triggers a redraw. https://bugs.freedesktop.org/show_bug.cgi?id=70930
Diffstat (limited to 'src/animation.c')
-rw-r--r--src/animation.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/animation.c b/src/animation.c
index 5eacb7bf..c71b5069 100644
--- a/src/animation.c
+++ b/src/animation.c
@@ -167,6 +167,7 @@ weston_view_animation_frame(struct weston_animation *base,
weston_spring_update(&animation->spring, msecs);
if (weston_spring_done(&animation->spring)) {
+ weston_view_schedule_repaint(animation->view);
weston_view_animation_destroy(animation);
return;
}