diff options
author | vaxerski <[email protected]> | 2022-06-25 11:20:03 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-06-25 11:20:03 +0200 |
commit | 3842b1641fb6c8197fbc79eb0e62a66b4f1cb4c1 (patch) | |
tree | 73eda45f375406a807a1d60a22b470a93ad77238 | |
parent | 72c86b99eb87b23c11fdc795ec6f3668f283b95c (diff) | |
download | Hyprland-3842b1641fb6c8197fbc79eb0e62a66b4f1cb4c1.tar.gz Hyprland-3842b1641fb6c8197fbc79eb0e62a66b4f1cb4c1.zip |
allow move to 0 0
-rw-r--r-- | src/managers/KeybindManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 85fb3919..931b7225 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -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; } |