Revert "don't update cursor pos in mouse hook"
This reverts commit c1a5a3895b
.
This commit is contained in:
parent
cdb68e9dd1
commit
801d31f68e
3 changed files with 3 additions and 7 deletions
|
@ -816,9 +816,6 @@ 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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue