update deprecated xkb function name

This commit is contained in:
Devin J. Pohly 2021-08-23 18:59:31 -05:00
parent 1183a319a0
commit d4e08c0762
1 changed files with 1 additions and 1 deletions

2
dwl.c
View File

@ -793,7 +793,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);