compositor: fix auto positioning offset calcs

This commit is contained in:
Vaxry 2023-08-14 17:31:32 +02:00
parent e5fb9b1b02
commit 2110dc1f03

View file

@ -2516,6 +2516,6 @@ void CCompositor::arrangeMonitors() {
for (auto& m : toArrange) { for (auto& m : toArrange) {
m->moveTo({maxOffset, 0}); m->moveTo({maxOffset, 0});
maxOffset += m->vecPosition.x; maxOffset += m->vecPosition.x + m->vecSize.x;
} }
} }