From f88571fdef30f9871f659ce9fa13e67758948096 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 25 Oct 2013 23:18:01 +0200 Subject: [PATCH] compositor-x11: Hide update_xkb_keymap behind #ifdef HAVE_XCB_XKB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonas Ã…dahl --- src/compositor-x11.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compositor-x11.c b/src/compositor-x11.c index ee3df319..73e71edf 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)