feat: support hyper mod key in keybind

This commit is contained in:
DreamMaoMao 2025-06-30 14:36:14 +08:00
parent 35676bc95b
commit 1ef61442f5

View file

@ -533,6 +533,10 @@ uint32_t parse_mod(const char *mod_str) {
strstr(token, "alt_r")) {
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);