mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 07:01:57 -07:00
allow move to 0 0
This commit is contained in:
@@ -954,8 +954,8 @@ void CKeybindManager::moveActive(std::string args) {
|
|||||||
const int X = std::stoi(newX);
|
const int X = std::stoi(newX);
|
||||||
const int Y = std::stoi(newY);
|
const int Y = std::stoi(newY);
|
||||||
|
|
||||||
if (X < 10 || Y < 10) {
|
if (X < 0 || Y < 0) {
|
||||||
Debug::log(ERR, "moveActive: exact args cannot be < 10");
|
Debug::log(ERR, "moveActive: exact args cannot be < 0");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user