From 9990b69447eedb3e1ddce99e9d53299ccbafe249 Mon Sep 17 00:00:00 2001 From: Michael Martin Date: Mon, 4 Apr 2011 21:15:07 +0000 Subject: [PATCH] [Win32k] - Do not block calling thread when sending WM_PARENTNOTIFY messages. Fixes hang at end of user32 winetest for msg. svn path=/trunk/; revision=51254 --- reactos/subsystems/win32/win32k/ntuser/window.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/window.c b/reactos/subsystems/win32/win32k/ntuser/window.c index 21aecf32546..a64f48d5ba9 100644 --- a/reactos/subsystems/win32/win32k/ntuser/window.c +++ b/reactos/subsystems/win32/win32k/ntuser/window.c @@ -1529,10 +1529,10 @@ static void IntSendParentNotify( PWND pWindow, UINT msg ) { if (pWindow->spwndParent && pWindow->spwndParent != UserGetDesktopWindow()) { - co_IntSendMessage( pWindow->spwndParent->head.h, - WM_PARENTNOTIFY, - MAKEWPARAM( msg, pWindow->IDMenu), - (LPARAM)pWindow->head.h ); + co_IntSendMessageNoWait( pWindow->spwndParent->head.h, + WM_PARENTNOTIFY, + MAKEWPARAM( msg, pWindow->IDMenu), + (LPARAM)pWindow->head.h ); } } }