On Tue, Apr 26, 2016 at 11:34:06PM +0200, David Fort wrote:
> Use SINCE macros instead of the hardcoded version value.
> 
> Signed-off-by: David Fort <[email protected]>

LGTM,
Reviewed-by: Bryce Harrington <[email protected]>

Pushed:
   2d4aa83..8a12069  master -> master


> ---
>  src/compositor.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/compositor.c b/src/compositor.c
> index 5500197..b88936b 100644
> --- a/src/compositor.c
> +++ b/src/compositor.c
> @@ -4236,7 +4236,7 @@ weston_output_move(struct weston_output *output, int x, 
> int y)
>                                       output->model,
>                                       output->transform);
>  
> -             if (wl_resource_get_version(resource) >= 2)
> +             if (wl_resource_get_version(resource) >= 
> WL_OUTPUT_DONE_SINCE_VERSION)
>                       wl_output_send_done(resource);
>       }
>  }
> -- 
> 1.9.1
> 
> _______________________________________________
> wayland-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to