From 31760a98aca6daeee846906ef7af20395f641b65 Mon Sep 17 00:00:00 2001 From: MatthiasWM Date: Sun, 21 Dec 2025 20:58:48 +0100 Subject: Win32: removed debugger messages --- src/drivers/WinAPI/Fl_WinAPI_Pen_Driver.cxx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/drivers/WinAPI/Fl_WinAPI_Pen_Driver.cxx') diff --git a/src/drivers/WinAPI/Fl_WinAPI_Pen_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Pen_Driver.cxx index 5bfe74d56..561743c7f 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Pen_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Pen_Driver.cxx @@ -298,7 +298,6 @@ LRESULT fl_win32_tablet_handler(MSG& msg) { double s = Fl::screen_driver()->scale(0); double ex = info.pointerInfo.ptPixelLocation.x/s; double ey = info.pointerInfo.ptPixelLocation.y/s; - // Go from global coordinates to event window coordinates Fl_Widget *p = eventWindow; while (p) { @@ -308,15 +307,8 @@ LRESULT fl_win32_tablet_handler(MSG& msg) { } p = p->parent(); }; - printf("pos: %d,%d (scale %.2f) to %.2f,%.2f %s\n", - info.pointerInfo.ptPixelLocation.x, - info.pointerInfo.ptPixelLocation.y, - s, - ex, - ey, eventWindow->label()); - - ev.x = ex; //info.pointerInfo.ptPixelLocation.x/s - eventWindow->x(); - ev.y = ey; //info.pointerInfo.ptPixelLocation.y/s - eventWindow->y(); + ev.x = ex; + ev.y = ey; ev.rx = info.pointerInfo.ptPixelLocation.x/s; ev.ry = info.pointerInfo.ptPixelLocation.y/s; if (!is_proximity) { -- cgit v1.2.3