From 070d4e44aa5084b8b0b84ea0fa9e91b20dcffbea Mon Sep 17 00:00:00 2001 From: Alexander Barker Date: Thu, 10 Aug 2023 20:14:43 -0700 Subject: [PATCH] Fix coordinates multiplied by two for the mouse on windows #172 --- src/windows/post_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/post_event.c b/src/windows/post_event.c index 2a13e930..11114ef8 100644 --- a/src/windows/post_event.c +++ b/src/windows/post_event.c @@ -190,7 +190,7 @@ static int map_mouse_event(uiohook_event * const event, INPUT * const input) { case EVENT_MOUSE_DRAGGED: case EVENT_MOUSE_MOVED: - input->mi.dwFlags = MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_VIRTUALDESK; + input->mi.dwFlags = MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE; break; default: