projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80511ef
)
compositor-x11: Hide update_xkb_keymap behind #ifdef HAVE_XCB_XKB
author
Jonas Ådahl
<jadahl@gmail.com>
Fri, 25 Oct 2013 21:18:01 +0000
(23:18 +0200)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 28 Oct 2013 21:38:27 +0000
(14:38 -0700)
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
src/compositor-x11.c
patch
|
blob
|
history
diff --git
a/src/compositor-x11.c
b/src/compositor-x11.c
index
ee3df31
..
73e71ed
100644
(file)
--- 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)