Alexandre Julliard : user32: Fix the wait event mask in PeekMessage.
Alexandre Julliard
julliard at winehq.org
Thu Nov 22 13:48:21 CST 2012
Module: wine
Branch: master
Commit: a0f039a6049641cc2be8fa32f2afa3c3f394a99b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a0f039a6049641cc2be8fa32f2afa3c3f394a99b
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Nov 22 11:57:15 2012 +0100
user32: Fix the wait event mask in PeekMessage.
---
dlls/user32/message.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/message.c b/dlls/user32/message.c
index ba37a3a..8ca259b 100644
--- a/dlls/user32/message.c
+++ b/dlls/user32/message.c
@@ -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;
More information about the wine-cvs
mailing list