Skip to content

Commit

Permalink
update deprecated xkb function name
Browse files Browse the repository at this point in the history
  • Loading branch information
djpohly committed Aug 23, 2021
1 parent 1183a31 commit d4e08c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dwl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d4e08c0

Please sign in to comment.