mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
skip SW_MINIMIZE hook with hook=2 and hook=3
This commit is contained in:
parent
132fd1f700
commit
098bf6a248
@ -481,7 +481,7 @@ 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)
|
if (nCmdShow == SW_MINIMIZE && (g_hook_method != 2 && g_hook_method != 3))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user