replace IsIconic with custom function

This commit is contained in:
FunkyFr3sh 2023-08-20 23:12:00 +02:00
parent 5c23d2d8a5
commit 66e86aa37c
7 changed files with 17 additions and 8 deletions

View file

@ -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);