(try 2)winex11.drv: Strip the _XXX from X11DRV_GetKeyNameText when approperate

Aric Stewart aric at codeweavers.com
Wed Jan 18 08:04:52 CST 2012


The problem is that there is no XK keycode for just Shift, Control or 
Menu so X11DRV_MapVirtualKeyEx maps them to Shift_L, etc. As a result 
the string XKeysymToString returns is a string with a _L or _R at the 
end, even if the "don't care" bit is set.
---
  dlls/winex11.drv/keyboard.c |   23 +++++++++++++++++++++++
  1 files changed, 23 insertions(+), 0 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 383d6b72d5d0780f343235cc5ccbbff7c057d7f9.diff
Type: text/x-patch
Size: 1348 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120118/c46f2212/attachment.bin>


More information about the wine-patches mailing list