summaryrefslogtreecommitdiff
path: root/Services/WindowServer/EventLoop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Services/WindowServer/EventLoop.cpp')
-rw-r--r--Services/WindowServer/EventLoop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Services/WindowServer/EventLoop.cpp b/Services/WindowServer/EventLoop.cpp
index 1a38e89b6f..21dae58823 100644
--- a/Services/WindowServer/EventLoop.cpp
+++ b/Services/WindowServer/EventLoop.cpp
@@ -99,7 +99,7 @@ void EventLoop::drain_mouse()
for (size_t i = 0; i < npackets; ++i) {
auto& packet = packets[i];
#ifdef WSMESSAGELOOP_DEBUG
- dbgprintf("EventLoop: Mouse X %d, Y %d, Z %d, relative %d\n", packet.x, packet.y, packet.z, packet.is_relative);
+ dbgln("EventLoop: Mouse X {}, Y {}, Z {}, relative={}", packet.x, packet.y, packet.z, packet.is_relative);
#endif
buttons = packet.buttons;
@@ -117,7 +117,7 @@ void EventLoop::drain_mouse()
if (buttons != state.buttons) {
state.buttons = buttons;
#ifdef WSMESSAGELOOP_DEBUG
- dbgprintf("EventLoop: Mouse Button Event\n");
+ dbgln("EventLoop: Mouse Button Event");
#endif
screen.on_receive_mouse_data(state);
if (state.is_relative) {