[PATCH xserver 05/14 v2] xwayland: Bind the relative pointer manager

Adam Jackson ajax at nwnk.net
Wed Sep 28 20:49:04 UTC 2016


On Tue, 2016-09-13 at 15:16 +0800, Jonas Ådahl wrote:

>  }
>  
>  static void
> +init_relative_pointer_manager(struct xwl_screen *xwl_screen,
> +                              uint32_t id, uint32_t version)
> +{
> +    xwl_screen->relative_pointer_manager =
> +        wl_registry_bind(xwl_screen->registry, id,
> +                         &zwp_relative_pointer_manager_v1_interface,
> +                         1);
> +}
> +
>  input_handler(void *data, struct wl_registry *registry, uint32_t id,
>                const char *interface, uint32_t version)
>  {

xwayland-input.c:919:1: error: return type defaults to ‘int’ [-Werror=implicit-int]
 input_handler(void *data, struct wl_registry *registry, uint32_t id,
xwayland-input.c: In function ‘input_handler’:
xwayland-input.c:930:1: error: control reaches end of non-void function [-Werror=return-type]

- ajax


More information about the xorg-devel mailing list