summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2021-08-23 18:59:31 -0500
committerDevin J. Pohly <djpohly@gmail.com>2021-08-23 18:59:31 -0500
commitd4e08c07629b4534e45b292614899a6b9bb876bd (patch)
tree45a143fc180a74776072d9846a66c9126f4624b1
parent1183a319a02cf89aa7311124fca7f15332c80547 (diff)
update deprecated xkb function name
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index b898537..2c1634b 100644
--- a/dwl.c
+++ b/dwl.c
@@ -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);