mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 11:19:58 +00:00
Moved MsgWaitForMultipleObjects call out of the window lock.
This commit is contained in:
parent
ea8d12c24b
commit
a4f19d031c
|
@ -688,6 +688,10 @@ BOOL WINAPI RedrawWindow( HWND hwnd, const RECT *rectUpdate,
|
||||||
|
|
||||||
if (!WIN_IsWindowDrawable( hwnd, !(flags & RDW_FRAME) )) return TRUE;
|
if (!WIN_IsWindowDrawable( hwnd, !(flags & RDW_FRAME) )) return TRUE;
|
||||||
|
|
||||||
|
/* process pending events and messages before painting */
|
||||||
|
if (flags & RDW_UPDATENOW)
|
||||||
|
MsgWaitForMultipleObjects( 0, NULL, FALSE, 0, QS_ALLINPUT );
|
||||||
|
|
||||||
if (!(wndPtr = WIN_FindWndPtr( hwnd ))) return FALSE;
|
if (!(wndPtr = WIN_FindWndPtr( hwnd ))) return FALSE;
|
||||||
if (TRACE_ON(win))
|
if (TRACE_ON(win))
|
||||||
{
|
{
|
||||||
|
@ -709,11 +713,6 @@ BOOL WINAPI RedrawWindow( HWND hwnd, const RECT *rectUpdate,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* process pending events and messages before painting */
|
|
||||||
if (flags & RDW_UPDATENOW)
|
|
||||||
MsgWaitForMultipleObjects( 0, NULL, FALSE, 0, QS_ALLINPUT );
|
|
||||||
|
|
||||||
/* prepare an update region in window coordinates */
|
/* prepare an update region in window coordinates */
|
||||||
|
|
||||||
if( flags & RDW_FRAME )
|
if( flags & RDW_FRAME )
|
||||||
|
|
Loading…
Reference in a new issue