ope: keysym use lower

This commit is contained in:
DreamMaoMao 2025-04-19 14:05:09 +08:00
parent e82fecaab6
commit bfaedd8e13
2 changed files with 2 additions and 2 deletions

View file

@ -3716,7 +3716,7 @@ keybinding(uint32_t mods, xkb_keysym_t sym) {
if (config.key_bindings_count < 1)
break;
k = &config.key_bindings[ji];
if (CLEANMASK(mods) == CLEANMASK(k->mod) && xkb_keysym_to_upper(sym) == k->keysym && k->func) {
if (CLEANMASK(mods) == CLEANMASK(k->mod) && xkb_keysym_to_lower(sym) == k->keysym && k->func) {
k->func(&k->arg);
handled = 1;
}