keyboard: ISO_Left_Tab
Walt Ogburn
reuben at ugcs.caltech.edu
Sat Nov 6 09:30:20 CST 2004
Changelog:
Turn ISO_Left_Tab back into a tab character if needed.
Index: dlls/x11drv/keyboard.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/keyboard.c,v
retrieving revision 1.59
diff -u -r1.59 keyboard.c
--- dlls/x11drv/keyboard.c 22 Oct 2004 20:29:10 -0000 1.59
+++ dlls/x11drv/keyboard.c 6 Nov 2004 15:18:00 -0000
@@ -2143,6 +2143,14 @@
ret = XLookupString(&e, lpChar, sizeof(lpChar), &keysym, NULL);
wine_tsx11_unlock();
+ /* Special case: X turns shift-tab into ISO_Left_Tab. */
+ /* Here we change it back. */
+ if ((ret == 0) && (keysym == XK_ISO_Left_Tab))
+ {
+ ret = 1;
+ lpChar[0] = 0x09;
+ }
+
if (ret == 0)
{
BYTE dead_char;
More information about the wine-patches
mailing list