Always get a hardware message from the system queue in PeekMessage,

even if no such wake bits are set, because in a PeekMessage loop,
there's no sleeping, so the necessary wake bits are never set...
This commit is contained in:
Ove Kaaven 2000-07-28 20:17:54 +00:00 committed by Alexandre Julliard
parent e8d4268a9f
commit a5bb5ea2c3
1 changed files with 1 additions and 2 deletions

View File

@ -1198,8 +1198,7 @@ static BOOL MSG_PeekMessage( int type, LPMSG msg, HWND hwnd,
/* Now find a hardware event */
if (((msgQueue->wakeBits & mask) & (QS_MOUSE | QS_KEY)) &&
MSG_PeekHardwareMsg( msg, hwnd, first, last, flags & PM_REMOVE ))
if (MSG_PeekHardwareMsg( msg, hwnd, first, last, flags & PM_REMOVE ))
{
/* Got one */
msgQueue->GetMessageTimeVal = msg->time;