ChangeLog:
* Only ignore certain keyboard events if a XLookupString returned a value. (detected by Valgrind)
Index: dlls/x11drv/keyboard.c =================================================================== RCS file: /home/wine/wine/dlls/x11drv/keyboard.c,v retrieving revision 1.33 diff -u -r1.33 keyboard.c --- dlls/x11drv/keyboard.c 5 Sep 2003 23:08:26 -0000 1.33 +++ dlls/x11drv/keyboard.c 21 Sep 2003 15:44:31 -0000 @@ -1010,8 +1010,9 @@ wine_tsx11_unlock(); /* Ignore some unwanted events */ - if ((keysym >= XK_ISO_Lock && keysym <= XK_ISO_Last_Group_Lock) || - keysym == XK_Mode_switch) + if (ascii_chars && + ((keysym >= XK_ISO_Lock && keysym <= XK_ISO_Last_Group_Lock) || + keysym == XK_Mode_switch)) { TRACE("Ignoring %s keyboard event\n", TSXKeysymToString(keysym)); return;