mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-14 06:59:50 -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
|
|
@ -299,7 +299,7 @@ uint32_t parse_mod(const char *mod_str) {
|
|||
}
|
||||
|
||||
xkb_keysym_t parse_keysym(const char *keysym_str) {
|
||||
return xkb_keysym_from_name(keysym_str, XKB_KEYSYM_NO_FLAGS);
|
||||
return xkb_keysym_to_upper(xkb_keysym_from_name(keysym_str, XKB_KEYSYM_NO_FLAGS));
|
||||
}
|
||||
|
||||
int parse_button(const char *str) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue