Commit 0bec4b70 authored by Walt Ogburn's avatar Walt Ogburn Committed by Alexandre Julliard

Turn ISO_Left_Tab back into a tab character if needed.

parent 30c5be39
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment