don't update cursor pos in mouse hook
This commit is contained in:
parent
89d3845473
commit
c1a5a3895b
3 changed files with 7 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue