skip SW_MINIMIZE hook with hook=2 and hook=3
This commit is contained in:
parent
132fd1f700
commit
098bf6a248
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue