---
src/util.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/util.c b/src/util.c
index 4390e2e..f18281c 100644
--- a/src/util.c
+++ b/src/util.c
@@ -265,6 +265,9 @@ weston_slide_run(struct weston_surface *surface, float
start, float stop,
animation = weston_surface_animation_run(surface, start, stop,
slide_frame, done, data);
+ if(!animation)
+ return NULL;
+
animation->spring.friction = 900;
animation->spring.k = 300;
--
1.7.12.2
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel