Turn ISO_Left_Tab back into a tab character if needed.

This commit is contained in:
Walt Ogburn 2004-11-08 20:25:37 +00:00 committed by Alexandre Julliard
parent 30c5be395e
commit 0bec4b7024
1 changed files with 10 additions and 1 deletions

View File

@ -2144,7 +2144,7 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
wine_tsx11_unlock();
if (ret == 0)
{
{
BYTE dead_char;
#ifdef XK_EuroSign
@ -2157,6 +2157,15 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
goto found;
}
#endif
/* Special case: X turns shift-tab into ISO_Left_Tab. */
/* Here we change it back. */
if (keysym == XK_ISO_Left_Tab)
{
bufW[0] = 0x09;
ret = 1;
goto found;
}
dead_char = KEYBOARD_MapDeadKeysym(keysym);
if (dead_char)
{