[SHELL32]

- Call SetTaskmanWindow right before RegisterShellHookWindow like the old explorer did.

svn path=/trunk/; revision=66860
This commit is contained in:
Giannis Adamopoulos 2015-03-22 21:34:08 +00:00
parent efbc9e3dc9
commit b69a61ee7c

View file

@ -310,9 +310,14 @@ BOOL WINAPI RegisterShellHook(
DWORD dwType)
{
if (dwType == 3)
{
SetTaskmanWindow(hWnd);
return RegisterShellHookWindow(hWnd);
}
else if (dwType == 0)
{
return DeregisterShellHookWindow(hWnd);
}
ERR("Unsupported argument");
return FALSE;