Merge pull request #1 from ARDiDo/main

update deprecated xkb function name
This commit is contained in:
ARDiDo 2021-09-14 22:48:56 +00:00 committed by GitHub
commit a98b3831d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
dwl.c
View File

@ -829,7 +829,7 @@ createkeyboard(struct wlr_input_device *device)
/* Prepare an XKB keymap and assign it to the keyboard. */
context = xkb_context_new(XKB_CONTEXT_NO_FLAGS);
keymap = xkb_map_new_from_names(context, &xkb_rules,
keymap = xkb_keymap_new_from_names(context, &xkb_rules,
XKB_KEYMAP_COMPILE_NO_FLAGS);
wlr_keyboard_set_keymap(device->keyboard, keymap);