Commit a02c5f83 authored by Alexandre Julliard's avatar Alexandre Julliard

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

instead of calling MsgWaitForMultipleObjects.
parent 79d72ce6
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment