Commit a5bb5ea2 authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

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...
parent e8d4268a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment