Alexandre Julliard : user32: Ignore the PM_NOYIELD flag on the client side.
Alexandre Julliard
julliard at winehq.org
Wed Dec 5 13:43:10 CST 2012
Module: wine
Branch: master
Commit: 1cf2c9c179ddf756a89d0a746414542200fdd47a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1cf2c9c179ddf756a89d0a746414542200fdd47a
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Dec 5 12:48:30 2012 +0100
user32: Ignore the PM_NOYIELD flag on the client side.
---
dlls/user32/message.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/dlls/user32/message.c b/dlls/user32/message.c
index 8ca259b..3f0312a 100644
--- a/dlls/user32/message.c
+++ b/dlls/user32/message.c
@@ -3685,13 +3685,8 @@ BOOL WINAPI DECLSPEC_HOTPATCH PeekMessageW( MSG *msg_out, HWND hwnd, UINT first,
{
DWORD ret;
- flush_window_surfaces( !(flags & PM_NOYIELD) );
-
- if (flags & PM_NOYIELD)
- ret = USER_Driver->pMsgWaitForMultipleObjectsEx( 0, NULL, 0, QS_ALLINPUT, 0 );
- else
- ret = wow_handlers.wait_message( 0, NULL, 0, QS_ALLINPUT, 0 );
-
+ flush_window_surfaces( TRUE );
+ 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