user32: Fix the wait event mask in PeekMessage.
This commit is contained in:
parent
7baf4ecd06
commit
a0f039a604
|
@ -3690,7 +3690,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH PeekMessageW( MSG *msg_out, HWND hwnd, UINT first,
|
|||
if (flags & PM_NOYIELD)
|
||||
ret = USER_Driver->pMsgWaitForMultipleObjectsEx( 0, NULL, 0, QS_ALLINPUT, 0 );
|
||||
else
|
||||
ret = wow_handlers.wait_message( 0, NULL, 0, 0, 0 );
|
||||
ret = wow_handlers.wait_message( 0, NULL, 0, QS_ALLINPUT, 0 );
|
||||
|
||||
/* if we received driver events, check again for a pending message */
|
||||
if (ret == WAIT_TIMEOUT || !peek_message( &msg, hwnd, first, last, flags, 0 )) return FALSE;
|
||||
|
|
Loading…
Reference in New Issue