compositor: don't apply offsets in renderer

This commit is contained in:
vaxerski
2023-08-14 18:41:52 +02:00
parent 2110dc1f03
commit b9a783229b
2 changed files with 1 additions and 19 deletions

View File

@@ -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);