mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
don't minimize on alt+tab
(cherry picked from commit 9207d652a881f789aff27f08a4ca09006852979e)
This commit is contained in:
parent
e5dc6dc5d0
commit
bff9a9605c
@ -480,6 +480,9 @@ BOOL WINAPI fake_ShowWindow(HWND hWnd, int nCmdShow)
|
||||
|
||||
if (nCmdShow == SW_MAXIMIZE)
|
||||
nCmdShow = SW_NORMAL;
|
||||
|
||||
if (nCmdShow == SW_MINIMIZE)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return real_ShowWindow(hWnd, nCmdShow);
|
||||
|
Loading…
x
Reference in New Issue
Block a user