From 95ed81c32902899168709e0f12d55936ee3cae5f 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') diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index ddbf7459c5..8a89964514 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