mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-28 08:09:49 +01:00
allow move to 0 0
This commit is contained in:
parent
72c86b99eb
commit
3842b1641f
1 changed files with 2 additions and 2 deletions
|
@ -954,8 +954,8 @@ void CKeybindManager::moveActive(std::string args) {
|
|||
const int X = std::stoi(newX);
|
||||
const int Y = std::stoi(newY);
|
||||
|
||||
if (X < 10 || Y < 10) {
|
||||
Debug::log(ERR, "moveActive: exact args cannot be < 10");
|
||||
if (X < 0 || Y < 0) {
|
||||
Debug::log(ERR, "moveActive: exact args cannot be < 0");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue