mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-05 06:31:57 -07:00
compositor: fix auto positioning offset calcs
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user