mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-08 08:01:57 -07:00
compositor: fix offset in auto arrangeMonitors
Fixes #3043, I am an idiot
This commit is contained in:
@@ -2551,7 +2551,7 @@ void CCompositor::arrangeMonitors() {
|
||||
for (auto& m : toArrange) {
|
||||
Debug::log(LOG, "arrangeMonitors: %s auto [%i, %.2f]", m->szName.c_str(), maxOffset, 0);
|
||||
m->moveTo({maxOffset, 0});
|
||||
maxOffset += m->vecPosition.x + m->vecSize.x;
|
||||
maxOffset += m->vecSize.x;
|
||||
}
|
||||
|
||||
// reset maxOffset (reuse)
|
||||
|
Reference in New Issue
Block a user