diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-08-14 18:41:52 +0200 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-08-14 18:41:52 +0200 |
| commit | b9a783229b3b5c0b4fad39245c80064700bc4338 (patch) | |
| tree | cb2abafb9a3d1229adff9f7f9fda144220b8a8c1 /src/Compositor.cpp | |
| parent | 2110dc1f038851132688d3e6bd51066ad999ee3c (diff) | |
compositor: don't apply offsets in renderer
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 17e9b670..895b4bec 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -2496,7 +2496,7 @@ void CCompositor::arrangeMonitors() { for (auto it = toArrange.begin(); it != toArrange.end(); ++it) { auto m = *it; - if (m->activeMonitorRule.offset > Vector2D{-1, -1}) { + if (m->activeMonitorRule.offset.x >= 0 && m->activeMonitorRule.offset.y >= 0) { // explicit. m->moveTo(m->activeMonitorRule.offset); arranged.push_back(m); |
