mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 13:05:57 +01:00
r and e exclusivity in bind
This commit is contained in:
parent
66eac124e2
commit
7dc014e967
1 changed files with 5 additions and 0 deletions
|
@ -531,6 +531,11 @@ void CConfigManager::handleBind(const std::string& command, const std::string& v
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (release && repeat) {
|
||||||
|
parseError = "flags r and e are mutually exclusive";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
auto valueCopy = value;
|
auto valueCopy = value;
|
||||||
|
|
||||||
const auto MOD = g_pKeybindManager->stringToModMask(valueCopy.substr(0, valueCopy.find_first_of(",")));
|
const auto MOD = g_pKeybindManager->stringToModMask(valueCopy.substr(0, valueCopy.find_first_of(",")));
|
||||||
|
|
Loading…
Reference in a new issue