Michael Karcher : user32: Reduce the PeekMessage timeout to zero for USER16_AlertableWait.

Alexandre Julliard julliard at wine.codeweavers.com
Fri May 18 13:56:13 CDT 2007


Module: wine
Branch: master
Commit: 5058fabf1e01b29e3113d31097f0e60596a4a7d9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5058fabf1e01b29e3113d31097f0e60596a4a7d9

Author: Michael Karcher <karcher at physik.fu-berlin.de>
Date:   Fri May 18 00:01:05 2007 +0200

user32: Reduce the PeekMessage timeout to zero for USER16_AlertableWait.

---

 dlls/user32/msg16.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/user32/msg16.c b/dlls/user32/msg16.c
index 3193a60..421f338 100644
--- a/dlls/user32/msg16.c
+++ b/dlls/user32/msg16.c
@@ -164,7 +164,7 @@ BOOL16 WINAPI PeekMessage32_16( MSG32_16 *msg16, HWND16 hwnd16,
     HWND hwnd = WIN_Handle32( hwnd16 );
 
     if(USER16_AlertableWait)
-        MsgWaitForMultipleObjectsEx( 0, NULL, 1, 0, MWMO_ALERTABLE );
+        MsgWaitForMultipleObjectsEx( 0, NULL, 0, 0, MWMO_ALERTABLE );
     if (!PeekMessageA( &msg, hwnd, first, last, flags )) return FALSE;
 
     msg16->msg.time    = msg.time;




More information about the wine-cvs mailing list