Skip to content

Commit

Permalink
Fix coordinates multiplied by two for the mouse on windows #172
Browse files Browse the repository at this point in the history
  • Loading branch information
kwhat committed Aug 11, 2023
1 parent dfd2647 commit e49ac61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows/post_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e49ac61

Please sign in to comment.