Added an another special case handling for Shift+[NumPad]DEL.

This commit is contained in:
Dmitry Timoshkov 2000-10-25 21:58:48 +00:00 committed by Alexandre Julliard
parent d2e2bb240a
commit b5f8b9227c
1 changed files with 6 additions and 0 deletions

View File

@ -1495,6 +1495,12 @@ INT X11DRV_ToUnicode(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
*(char*)lpChar = 0; *(char*)lpChar = 0;
ret = 0; ret = 0;
} }
else if((lpKeyState[VK_SHIFT] & 0x80) /* Shift is pressed */
&& (keysym == XK_KP_Decimal))
{
*(char*)lpChar = 0;
ret = 0;
}
/* perform translation to unicode */ /* perform translation to unicode */
if(ret) if(ret)