On Fri, Oct 12, 2012 at 12:32:03PM +0200, John Kåre Alsaker wrote: > --- > 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;
Applied, with the usual extra space thrown in. Kristian > > -- > 1.7.12.2 > > _______________________________________________ > wayland-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
