From 98c56da01a62b1285345a564592cd03478445762 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Sat, 5 Nov 2011 06:01:05 +0000 Subject: [PATCH] [Win32k] - Reposition IntCallWndProc/Ret so it call when sending to client. svn path=/trunk/; revision=54294 --- reactos/subsystems/win32/win32k/ntuser/message.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/message.c b/reactos/subsystems/win32/win32k/ntuser/message.c index ebd7ca7be1a..c47c3085d0d 100644 --- a/reactos/subsystems/win32/win32k/ntuser/message.c +++ b/reactos/subsystems/win32/win32k/ntuser/message.c @@ -1188,7 +1188,6 @@ co_IntSendMessageTimeoutSingle( HWND hWnd, Win32Thread = PsGetCurrentThreadWin32Thread(); - IntCallWndProc( Window, hWnd, Msg, wParam, lParam); if ( NULL != Win32Thread && Window->head.pti->MessageQueue == Win32Thread->MessageQueue) @@ -1199,6 +1198,8 @@ co_IntSendMessageTimeoutSingle( HWND hWnd, RETURN( FALSE); } + IntCallWndProc( Window, hWnd, Msg, wParam, lParam); + /* See if this message type is present in the table */ MsgMemoryEntry = FindMsgMemory(Msg); if (NULL == MsgMemoryEntry) @@ -1269,8 +1270,6 @@ co_IntSendMessageTimeoutSingle( HWND hWnd, (uFlags & SMTO_NOTIMEOUTIFNOTHUNG) && !MsqIsHung(Window->head.pti->MessageQueue)); // FIXME - Set window hung and add to a list. - IntCallWndProcRet( Window, hWnd, Msg, wParam, lParam, (LRESULT *)uResult); - if (STATUS_TIMEOUT == Status) { /* @@ -1457,8 +1456,6 @@ co_IntSendMessageWithCallBack( HWND hWnd, } } - - if (Window->head.pti->MessageQueue == Win32Thread->MessageQueue) { if (! NT_SUCCESS(UnpackParam(lParamPacked, Msg, wParam, lParam, FALSE)))