From 824813fc6a6b4bfaac2edb791bf3a429a9990d4e Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 15 May 2023 15:16:06 +0100 Subject: internal: remove check for negative exact vector args --- src/Compositor.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/Compositor.cpp') diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 96c8b34c..39c17a36 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -2219,11 +2219,6 @@ Vector2D CCompositor::parseWindowVectorArgsRelative(const std::string& args, con const int X = std::stoi(newX); const int Y = std::stoi(newY); - if (X < 0 || Y < 0) { - Debug::log(ERR, "parseWindowVectorArgsRelative: exact args cannot be < 0"); - return relativeTo; - } - return Vector2D(X, Y); } -- cgit v1.2.3