x11drv: Virtual key input scrubbing in X11DRV_send_keyboard_input.

This commit is contained in:
Thomas Kho 2006-04-19 13:04:11 -07:00 committed by Alexandre Julliard
parent f911433ece
commit 75cd5e2101
1 changed files with 2 additions and 0 deletions

View File

@ -1115,6 +1115,8 @@ void X11DRV_send_keyboard_input( WORD wVk, WORD wScan, DWORD dwFlags, DWORD time
KBDLLHOOKSTRUCT hook;
WORD wVkStripped;
wVk = LOBYTE(wVk);
/* strip left/right for menu, control, shift */
if (wVk == VK_LMENU || wVk == VK_RMENU)
wVkStripped = VK_MENU;