mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-15 09:46:00 +01:00
fix: compatibility check
This commit is contained in:
parent
505f2509c0
commit
fd4c8a43ca
1 changed files with 3 additions and 3 deletions
|
@ -2191,7 +2191,7 @@ std::optional<std::string> CConfigManager::handleBind(const std::string& command
|
||||||
ignoreMods = true;
|
ignoreMods = true;
|
||||||
} else if (arg == 's') {
|
} else if (arg == 's') {
|
||||||
multiKey = true;
|
multiKey = true;
|
||||||
} else if (arg == 'o' && !release) {
|
} else if (arg == 'o') {
|
||||||
longPress = true;
|
longPress = true;
|
||||||
} else if (arg == 'd') {
|
} else if (arg == 'd') {
|
||||||
hasDescription = true;
|
hasDescription = true;
|
||||||
|
@ -2202,8 +2202,8 @@ std::optional<std::string> CConfigManager::handleBind(const std::string& command
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (release && repeat)
|
if ((longPress || release) && repeat)
|
||||||
return "flags r and e are mutually exclusive";
|
return "flags e is mutually exclusive with r and o";
|
||||||
|
|
||||||
if (mouse && (repeat || release || locked))
|
if (mouse && (repeat || release || locked))
|
||||||
return "flag m is exclusive";
|
return "flag m is exclusive";
|
||||||
|
|
Loading…
Reference in a new issue