mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-31 22:25:29 -04:00
feat: support hyper mod key in keybind
This commit is contained in:
parent
35676bc95b
commit
1ef61442f5
1 changed files with 4 additions and 0 deletions
|
|
@ -533,6 +533,10 @@ uint32_t parse_mod(const char *mod_str) {
|
||||||
strstr(token, "alt_r")) {
|
strstr(token, "alt_r")) {
|
||||||
mod |= WLR_MODIFIER_ALT;
|
mod |= WLR_MODIFIER_ALT;
|
||||||
}
|
}
|
||||||
|
if (strstr(token, "hyper") || strstr(token, "hyper_l") ||
|
||||||
|
strstr(token, "hyper_r")) {
|
||||||
|
mod |= WLR_MODIFIER_MOD3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
token = strtok_r(NULL, "+", &saveptr);
|
token = strtok_r(NULL, "+", &saveptr);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue