From 2110dc1f038851132688d3e6bd51066ad999ee3c Mon Sep 17 00:00:00 2001 From: vaxerski Date: Mon, 14 Aug 2023 17:31:32 +0200 Subject: [PATCH] compositor: fix auto positioning offset calcs --- src/Compositor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index fb038e5f..17e9b670 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -2516,6 +2516,6 @@ void CCompositor::arrangeMonitors() { for (auto& m : toArrange) { m->moveTo({maxOffset, 0}); - maxOffset += m->vecPosition.x; + maxOffset += m->vecPosition.x + m->vecSize.x; } }