mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 04:29:48 +01:00
compositor: fix auto positioning offset calcs
This commit is contained in:
parent
e5fb9b1b02
commit
2110dc1f03
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue