Subject: winex/windows/x11drv keyboard.c,1.25,1.26Update of /var/lib/cvsd/cvsroot/winex/windows/x11drv
In directory agravaine:/tmp/cvs-serv29850/windows/x11drv
Modified Files:
keyboard.c
Log Message:
Fix Shift-Tab combination in x11drv's ToUnicode.
Index: keyboard.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/windows/x11drv/keyboard.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- keyboard.c 27 Apr 2007 12:56:55 -0000 1.25
+++ keyboard.c 27 Apr 2007 12:57:03 -0000 1.26
@@ -1679,6 +1679,14 @@
else TRACE("Found keycode %d (0x%2X)\n",e.keycode,e.keycode);
ret = TSXLookupString(&e, (LPVOID)lpChar, 2, &keysym, NULL);
+
+ /* X maps Shift-Tab to this, but that's not what we want */
+ if (keysym == XK_ISO_Left_Tab)
+ {
+ bufW[0] = 0x09;
+ ret = 1;
+ }
+
dead_char = KEYBOARD_MapDeadKeysym(keysym);
if (ret == 0 || dead_char)
{
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.