mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 06:02:07 +00:00
[Win32k]
- Update key state when key and hardware is set before the event set. This allows input.c to post and set key states. svn path=/trunk/; revision=51512
This commit is contained in:
parent
a4b0bea539
commit
94050d9e54
1 changed files with 3 additions and 1 deletions
|
@ -466,7 +466,6 @@ co_MsqPostKeyboardMessage(UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
FocusMessageQueue->Desktop->pDeskInfo->LastInputWasKbd = TRUE;
|
||||
|
||||
Msg.pt = gpsi->ptCursor;
|
||||
update_input_key_state(FocusMessageQueue, &Msg);
|
||||
MsqPostMessage(FocusMessageQueue, &Msg, TRUE, QS_KEY);
|
||||
}
|
||||
else
|
||||
|
@ -1006,6 +1005,9 @@ MsqPostMessage(PUSER_MESSAGE_QUEUE MessageQueue, MSG* Msg, BOOLEAN HardwareMessa
|
|||
{
|
||||
InsertTailList(&MessageQueue->HardwareMessagesListHead,
|
||||
&Message->ListEntry);
|
||||
|
||||
if (MessageBits & QS_KEY)
|
||||
update_input_key_state( MessageQueue, Msg );
|
||||
}
|
||||
|
||||
Message->QS_Flags = MessageBits;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue