diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-08-16 18:16:36 +0200 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-08-16 18:16:39 +0200 |
| commit | 7e8a21202729ca806cd244fb37e5b45abb4cc69b (patch) | |
| tree | 386b677fb111fefe2f8e965339cae2f91ad8bb04 /src/Compositor.cpp | |
| parent | 19f3e927d9aab57706c38d5287cf42ff63ed4334 (diff) | |
internal: allow negative monitor offsets
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index bb1f4f92..f39ae640 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -2498,7 +2498,7 @@ void CCompositor::arrangeMonitors() { for (auto it = toArrange.begin(); it != toArrange.end();) { auto m = *it; - if (m->activeMonitorRule.offset.x >= 0 && m->activeMonitorRule.offset.y >= 0) { + if (m->activeMonitorRule.offset != Vector2D{-INT32_MAX, -INT32_MAX}) { // explicit. m->moveTo(m->activeMonitorRule.offset); arranged.push_back(m); |
