don't update cursor pos in mouse hook

This commit is contained in:
FunkyFr3sh 2024-09-09 15:23:31 +02:00
parent 89d3845473
commit c1a5a3895b
3 changed files with 7 additions and 3 deletions

View file

@ -816,6 +816,9 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
return 0;
}
InterlockedExchange((LONG*)&g_ddraw.cursor.x, GET_X_LPARAM(lParam));
InterlockedExchange((LONG*)&g_ddraw.cursor.y, GET_Y_LPARAM(lParam));
break;
}
case WM_PARENTNOTIFY: