Commit 605cba3c authored by Alexandre Julliard's avatar Alexandre Julliard

Update the queue key state even if no window has the focus (spotted by

Rizsanyi Zsolt).
parent ff1f320a
......@@ -324,6 +324,9 @@ static BOOL process_raw_keyboard_message( MSG *msg, ULONG_PTR extra_info )
HOOK_CallHooksA( WH_JOURNALRECORD, HC_ACTION, 0, (LPARAM)&event );
}
/* if we are going to throw away the message, update the queue state now */
if (!msg->hwnd) update_queue_key_state( msg->message, msg->wParam );
return (msg->hwnd != 0);
}
......
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