From a02c5f833487eda8a4f5bf3a9eaa1e7724cdab8b Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 3 Aug 2005 19:16:01 +0000 Subject: [PATCH] Call the USER driver directly to check for X events on RDW_UPDATENOW instead of calling MsgWaitForMultipleObjects. --- dlls/user/painting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user/painting.c b/dlls/user/painting.c index e15a76acb03..5e20162396e 100644 --- a/dlls/user/painting.c +++ b/dlls/user/painting.c @@ -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) {