summaryrefslogtreecommitdiff
path: root/Services/WindowServer/Screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Services/WindowServer/Screen.cpp')
-rw-r--r--Services/WindowServer/Screen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Services/WindowServer/Screen.cpp b/Services/WindowServer/Screen.cpp
index 2d68c4890e..4cc9ae809b 100644
--- a/Services/WindowServer/Screen.cpp
+++ b/Services/WindowServer/Screen.cpp
@@ -134,12 +134,12 @@ void Screen::on_receive_mouse_data(const MousePacket& packet)
if (packet.is_relative) {
m_cursor_location.move_by(packet.x * m_acceleration_factor, packet.y * m_acceleration_factor);
#ifdef WSSCREEN_DEBUG
- dbgprintf("Screen: New Relative mouse point @ X %d, Y %d\n", m_cursor_location.x(), m_cursor_location.y());
+ dbgln("Screen: New Relative mouse point @ {}", m_cursor_location);
#endif
} else {
m_cursor_location = { packet.x * m_width / 0xffff, packet.y * m_height / 0xffff };
#ifdef WSSCREEN_DEBUG
- dbgprintf("Screen: New Absolute mouse point @ X %d, Y %d\n", m_cursor_location.x(), m_cursor_location.y());
+ dbgln("Screen: New Absolute mouse point @ {}", m_cursor_location);
#endif
}