Added an another special case handling for Shift+[NumPad]DEL.
This commit is contained in:
parent
d2e2bb240a
commit
b5f8b9227c
|
@ -1495,6 +1495,12 @@ INT X11DRV_ToUnicode(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
|
|||
*(char*)lpChar = 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 */
|
||||
if(ret)
|
||||
|
|
Loading…
Reference in New Issue