diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-07-29 13:01:21 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-07-29 13:01:21 -0400 |
commit | 0770389614e0e8d2afe16115a52e2cbecc53390d (patch) | |
tree | bc96fbf95ebe18157a47c52356eeb8af73c896d0 | |
parent | 2718a54bbe0f2b3806a08ec46b41fbdef0aca796 (diff) |
clarify incxkbrules function
-rw-r--r-- | dwl.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1101,8 +1101,9 @@ incxkbrules(const Arg *arg) context = xkb_context_new(XKB_CONTEXT_NO_FLAGS); if (!(keymap = xkb_keymap_new_from_names(context, &xkb_rules[kblayout], - XKB_KEYMAP_COMPILE_NO_FLAGS))) + XKB_KEYMAP_COMPILE_NO_FLAGS))) { die("failed to compile keymap"); + } wlr_keyboard_set_keymap(&kb_group->wlr_group->keyboard, keymap); xkb_keymap_unref(keymap); |