mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-26 12:49:50 +01:00
allow one less arg in bind
This commit is contained in:
parent
49ab3890aa
commit
ab82c4806d
1 changed files with 1 additions and 1 deletions
|
@ -639,7 +639,7 @@ void CConfigManager::handleBind(const std::string& command, const std::string& v
|
|||
|
||||
const auto ARGS = CVarList(value, 4);
|
||||
|
||||
if ((ARGS.size() < 4 && !mouse) || (ARGS.size() < 3 && mouse)) {
|
||||
if ((ARGS.size() < 3 && !mouse) || (ARGS.size() < 3 && mouse)) {
|
||||
parseError = "bind: too few args";
|
||||
return;
|
||||
} else if ((ARGS.size() > 4 && !mouse) || (ARGS.size() > 3 && mouse)) {
|
||||
|
|
Loading…
Reference in a new issue