replace IsIconic with custom function
This commit is contained in:
parent
5c23d2d8a5
commit
66e86aa37c
7 changed files with 17 additions and 8 deletions
|
@ -170,7 +170,7 @@ BOOL WINAPI fake_ClipCursor(const RECT* lpRect)
|
|||
|
||||
CopyRect(&g_ddraw->mouse.rc, &dst_rc);
|
||||
|
||||
if (g_mouse_locked && !IsIconic(g_ddraw->hwnd))
|
||||
if (g_mouse_locked && !util_is_minimized(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