[PATCH weston 2/6] compositor-x11: Hide update_xkb_keymap behind #ifdef HAVE_XCB_XKB

Daniel Stone daniel at fooishbar.org
Sat Oct 26 16:01:50 CEST 2013


Hi,

On 25 October 2013 22:18, Jonas Ådahl <jadahl at gmail.com> wrote:
> Signed-off-by: Jonas Ådahl <jadahl at gmail.com>

Fine by me.

Cheers,
Daniel

>  src/compositor-x11.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/compositor-x11.c b/src/compositor-x11.c
> index ee3df31..73e71ed 100644
> --- a/src/compositor-x11.c
> +++ b/src/compositor-x11.c
> @@ -290,6 +290,7 @@ x11_compositor_setup_xkb(struct x11_compositor *c)
>  #endif
>  }
>
> +#ifdef HAVE_XCB_XKB
>  static void
>  update_xkb_keymap(struct x11_compositor *c)
>  {
> @@ -303,6 +304,7 @@ update_xkb_keymap(struct x11_compositor *c)
>         weston_seat_update_keymap(&c->core_seat, keymap);
>         xkb_keymap_unref(keymap);
>  }
> +#endif
>
>  static int
>  x11_input_create(struct x11_compositor *c, int no_input)
> --
> 1.8.1.2
>
> _______________________________________________
> 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