mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 14:11:59 -07:00
r and e exclusivity in bind
This commit is contained in:
@@ -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;
|
||||
|
||||
const auto MOD = g_pKeybindManager->stringToModMask(valueCopy.substr(0, valueCopy.find_first_of(",")));
|
||||
|
Reference in New Issue
Block a user