mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 15:05:58 +01:00
compositor: fix offset in auto arrangeMonitors
Fixes #3043, I am an idiot
This commit is contained in:
parent
6a5a5ed11e
commit
3a1f30519b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue