mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-19 06:59:56 -05:00
feat:Make all the keybind keys case-insensitive
This commit is contained in:
parent
7eac47b857
commit
2e02987128
4 changed files with 3 additions and 27 deletions
|
|
@ -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) && sym == k->keysym && k->func) {
|
||||
if (CLEANMASK(mods) == CLEANMASK(k->mod) && xkb_keysym_to_upper(sym) == k->keysym && k->func) {
|
||||
k->func(&k->arg);
|
||||
handled = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue