summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-08-22 16:44:33 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-08-22 16:44:33 +0200
commitba31518ed8ba2fb8bdfd5afaf048b54bab1c657b (patch)
tree2e99a5163684676e63f46b795952c8f2c99b3822 /src/Compositor.cpp
parent41d9b6f0d72947de1b0871795f8d8af32d0e9f98 (diff)
compositor: fix log types
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 2f9da567..5a56dca5 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -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);
}