mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[Win32k]
- Fix to unfocused explorer minimize hang, spotted by R3dDr4g0n <vins8920@hotmail.com>. svn path=/trunk/; revision=51263
This commit is contained in:
parent
ddb4a8780d
commit
f43d2fe8ca
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue