Make sure window is not minimized while locking the cursor
This commit is contained in:
parent
9025a211e1
commit
9f134dc6ed
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ BOOL WINAPI fake_ClipCursor(const RECT* lpRect)
|
|||
|
||||
CopyRect(&g_ddraw->mouse.rc, &dst_rc);
|
||||
|
||||
if (g_mouse_locked)
|
||||
if (g_mouse_locked && !IsIconic(g_ddraw->hwnd))
|
||||
{
|
||||
real_MapWindowPoints(g_ddraw->hwnd, HWND_DESKTOP, (LPPOINT)&dst_rc, 2);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue