keybind: Fix shift modifiers

Need to lower the syms for these to match!

Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
Joshua Ashton 2021-10-21 17:09:53 +00:00 committed by Johan Malm
parent 174e82a608
commit 95ce9e0264
2 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,7 @@ handle_keybinding(struct server *server, uint32_t modifiers, xkb_keysym_t sym)
continue;
}
for (size_t i = 0; i < keybind->keysyms_len; i++) {
if (sym == keybind->keysyms[i]) {
if (xkb_keysym_to_lower(sym) == keybind->keysyms[i]) {
action(server, keybind->action,
keybind->command);
return true;