compositor-x11: Hide update_xkb_keymap behind #ifdef HAVE_XCB_XKB
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
80511efe43
commit
f88571fdef
@@ -290,6 +290,7 @@ x11_compositor_setup_xkb(struct x11_compositor *c)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_XCB_XKB
|
||||||
static void
|
static void
|
||||||
update_xkb_keymap(struct x11_compositor *c)
|
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);
|
weston_seat_update_keymap(&c->core_seat, keymap);
|
||||||
xkb_keymap_unref(keymap);
|
xkb_keymap_unref(keymap);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
x11_input_create(struct x11_compositor *c, int no_input)
|
x11_input_create(struct x11_compositor *c, int no_input)
|
||||||
|
|||||||
Reference in New Issue
Block a user