Call the USER driver directly to check for X events on RDW_UPDATENOW

instead of calling MsgWaitForMultipleObjects.
This commit is contained in:
Alexandre Julliard 2005-08-03 19:16:01 +00:00
parent 79d72ce613
commit a02c5f8334
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ BOOL WINAPI RedrawWindow( HWND hwnd, const RECT *rect, HRGN hrgn, UINT flags )
}
/* process pending expose events before painting */
if (flags & RDW_UPDATENOW) MsgWaitForMultipleObjects( 0, NULL, FALSE, 0, QS_PAINT );
if (flags & RDW_UPDATENOW) USER_Driver->pMsgWaitForMultipleObjectsEx( 0, NULL, 0, QS_PAINT, 0 );
if (rect && !hrgn)
{