Fixed Windows build
parent
869b7fe314
commit
52e9c42df9
|
@ -525,8 +525,10 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
/* we check for where Windows thinks the system cursor lives in this case, so we don't really lose mouse accel, etc. */
|
||||
POINT pt;
|
||||
RECT hwndRect;
|
||||
HWND currentHnd;
|
||||
|
||||
GetCursorPos(&pt);
|
||||
HWND currentHnd = WindowFromPoint( pt );
|
||||
currentHnd = WindowFromPoint(pt);
|
||||
ScreenToClient(hwnd, &pt);
|
||||
GetClientRect(hwnd, &hwndRect);
|
||||
|
||||
|
|
Loading…
Reference in New Issue