Fix ALT context bit for WM_KEYDOWN/UP.

This commit is contained in:
Dusan Lacko 2003-05-11 02:43:42 +00:00 committed by Alexandre Julliard
parent 5e10df3e12
commit b922aad01f
1 changed files with 1 additions and 2 deletions

View File

@ -170,8 +170,7 @@ static void queue_kbd_event( const KEYBDINPUT *ki, UINT injected_flags )
? WM_SYSKEYDOWN : WM_KEYDOWN;
}
if (message == WM_SYSKEYDOWN || message == WM_SYSKEYUP )
keylp.lp1.context = (InputKeyStateTable[VK_MENU] & 0x80) != 0; /* 1 if alt */
keylp.lp1.context = (InputKeyStateTable[VK_MENU] & 0x80) != 0; /* 1 if alt */
TRACE_(key)(" wParam=%04x, lParam=%08lx, InputKeyState=%x\n",
ki->wVk, keylp.lp2, InputKeyStateTable[ki->wVk] );