1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

don't minimize on alt+tab

(cherry picked from commit 9207d652a881f789aff27f08a4ca09006852979e)
This commit is contained in:
FunkyFr3sh 2021-09-14 05:37:08 +02:00
parent e5dc6dc5d0
commit bff9a9605c

View File

@ -480,6 +480,9 @@ BOOL WINAPI fake_ShowWindow(HWND hWnd, int nCmdShow)
if (nCmdShow == SW_MAXIMIZE) if (nCmdShow == SW_MAXIMIZE)
nCmdShow = SW_NORMAL; nCmdShow = SW_NORMAL;
if (nCmdShow == SW_MINIMIZE)
return TRUE;
} }
return real_ShowWindow(hWnd, nCmdShow); return real_ShowWindow(hWnd, nCmdShow);