mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-03 21:51:55 -07:00
allow one less arg in bind
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user