mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 08:49:49 +01:00
compositor: fix log types
This commit is contained in:
parent
41d9b6f0d7
commit
ba31518ed8
1 changed files with 2 additions and 2 deletions
|
@ -2549,7 +2549,7 @@ void CCompositor::arrangeMonitors() {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto& m : toArrange) {
|
for (auto& m : toArrange) {
|
||||||
Debug::log(LOG, "arrangeMonitors: %s auto [%.2f, %.2f]", m->szName.c_str(), maxOffset, 0);
|
Debug::log(LOG, "arrangeMonitors: %s auto [%i, %.2f]", m->szName.c_str(), maxOffset, 0);
|
||||||
m->moveTo({maxOffset, 0});
|
m->moveTo({maxOffset, 0});
|
||||||
maxOffset += m->vecPosition.x + m->vecSize.x;
|
maxOffset += m->vecPosition.x + m->vecSize.x;
|
||||||
}
|
}
|
||||||
|
@ -2558,7 +2558,7 @@ void CCompositor::arrangeMonitors() {
|
||||||
// and set xwayland positions aka auto for all
|
// and set xwayland positions aka auto for all
|
||||||
maxOffset = 0;
|
maxOffset = 0;
|
||||||
for (auto& m : m_vMonitors) {
|
for (auto& m : m_vMonitors) {
|
||||||
Debug::log(LOG, "arrangeMonitors: %s xwayland [%.2f, %.2f]", m->szName.c_str(), maxOffset, 0);
|
Debug::log(LOG, "arrangeMonitors: %s xwayland [%i, %.2f]", m->szName.c_str(), maxOffset, 0);
|
||||||
m->vecXWaylandPosition = {maxOffset, 0};
|
m->vecXWaylandPosition = {maxOffset, 0};
|
||||||
maxOffset += (*PXWLFORCESCALEZERO ? m->vecTransformedSize.x : m->vecSize.x);
|
maxOffset += (*PXWLFORCESCALEZERO ? m->vecTransformedSize.x : m->vecSize.x);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue