- Fix to unfocused explorer minimize hang, spotted by R3dDr4g0n <vins8920@hotmail.com>.

svn path=/trunk/; revision=51263
This commit is contained in:
James Tabor 2011-04-06 01:31:50 +00:00
parent ddb4a8780d
commit f43d2fe8ca

View file

@ -1529,10 +1529,14 @@ static void IntSendParentNotify( PWND pWindow, UINT msg )
{
if (pWindow->spwndParent && pWindow->spwndParent != UserGetDesktopWindow())
{
USER_REFERENCE_ENTRY Ref;
UserRefObjectCo(pWindow->spwndParent, &Ref); // Fix explorer minimize hang.
// Should be co_IntSendMessage please retest, Ref to Chg, revision 51254...
co_IntSendMessageNoWait( pWindow->spwndParent->head.h,
WM_PARENTNOTIFY,
MAKEWPARAM( msg, pWindow->IDMenu),
(LPARAM)pWindow->head.h );
UserDerefObjectCo(pWindow->spwndParent);
}
}
}