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:
parent
e8d4268a9f
commit
a5bb5ea2c3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue