[PATCH weston] compositor: Fix weston_subsurface_is_synchronized() return value.

Pekka Paalanen ppaalanen at gmail.com
Wed Nov 5 02:51:47 PST 2014


On Tue, 04 Nov 2014 10:36:16 -0600
Derek Foreman <derekf at osg.samsung.com> wrote:

> On 04/11/14 07:38 AM, Carlos Olmedo Escobar wrote:
> > Commit 280e7dd918f1717c7d677676384a9cd991097741 introduced a bug in the
> > return value of weston_subsurface_is_synchronized().
> 
> Ouch! Nice catch. :(
> 
> Reviewed-by: Derek Foreman <derekf at osg.samsung.com>

Damn, how did I miss that... pushed!

Thanks,
pq


> 
> > Signed-off-by: Carlos Olmedo Escobar <carlos.olmedo.e at gmail.com>
> > ---
> >  src/compositor.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/src/compositor.c b/src/compositor.c
> > index ac5bda2..ff62b5f 100644
> > --- a/src/compositor.c
> > +++ b/src/compositor.c
> > @@ -2639,7 +2639,7 @@ weston_subsurface_is_synchronized(struct weston_subsurface *sub)
> >  		sub = weston_surface_to_subsurface(sub->parent);
> >  	}
> >  
> > -	return true;
> > +	return false;
> >  }
> >  
> >  static void
> > 
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel



More information about the wayland-devel mailing list