[PATCH weston 1/6] Export weston_compositor_xkb_init, as required for libweston users

Benoit Gschwind gschwind at gnu-log.net
Fri May 27 11:04:54 UTC 2016


Hello Giulio,

The patch do what it describe.

Reviewed-by: Benoit Gschwind <gschwind at gnu-log.net>

On 24/05/2016 18:59, Giulio Camuffo wrote:
> ---
>  src/input.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/input.c b/src/input.c
> index 8fe898c..c6cdedd 100644
> --- a/src/input.c
> +++ b/src/input.c
> @@ -2277,7 +2277,7 @@ bind_seat(struct wl_client *client, void *data, uint32_t version, uint32_t id)
>  }
>  
>  #ifdef ENABLE_XKBCOMMON
> -int
> +WL_EXPORT int
>  weston_compositor_xkb_init(struct weston_compositor *ec,
>  			   struct xkb_rule_names *names)
>  {
> @@ -2442,7 +2442,7 @@ weston_compositor_build_global_keymap(struct weston_compositor *ec)
>  	return 0;
>  }
>  #else
> -int
> +WL_EXPORT int
>  weston_compositor_xkb_init(struct weston_compositor *ec,
>  			   struct xkb_rule_names *names)
>  {
> 


More information about the wayland-devel mailing list