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

Derek Foreman derekf at osg.samsung.com
Tue Nov 4 08:36:16 PST 2014


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>

> 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
> 



More information about the wayland-devel mailing list