From 2995bf176d65d05ddf29fb49beace518412c19fb Mon Sep 17 00:00:00 2001 From: Alexander Preisinger Date: Wed, 13 Nov 2013 00:02:01 +0100 Subject: wayland: create xkbcommon keymap from string Fixes a problem where the passed size doesn't match the actuall string. --- video/out/wayland_common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'video/out') diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 239e57519b..383b2d9ed7 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -208,9 +208,8 @@ static void keyboard_handle_keymap(void *data, return; } - wl->input.xkb.keymap = xkb_keymap_new_from_buffer(wl->input.xkb.context, + wl->input.xkb.keymap = xkb_keymap_new_from_string(wl->input.xkb.context, map_str, - size, XKB_KEYMAP_FORMAT_TEXT_V1, 0); -- cgit v1.2.3