compositor: fix log types

This commit is contained in:
vaxerski 2023-08-22 16:44:33 +02:00
parent 41d9b6f0d7
commit ba31518ed8

View file

@ -2549,7 +2549,7 @@ void CCompositor::arrangeMonitors() {
}
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});
maxOffset += m->vecPosition.x + m->vecSize.x;
}
@ -2558,7 +2558,7 @@ void CCompositor::arrangeMonitors() {
// and set xwayland positions aka auto for all
maxOffset = 0;
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};
maxOffset += (*PXWLFORCESCALEZERO ? m->vecTransformedSize.x : m->vecSize.x);
}