Update the queue key state even if no window has the focus (spotted by
Rizsanyi Zsolt).
This commit is contained in:
parent
ff1f320ac8
commit
605cba3c8e
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue