(try 3)winex11.drv: Strip the _L or _R from X11DRV_GetKeyNameText when approperate

Aric Stewart aric at codeweavers.com
Fri Jan 20 08:08:43 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 |   26 ++++++++++++++++++++++++++
  1 files changed, 26 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5da7f587588e0d03644e649305934b49c56d09fd.diff
Type: text/x-patch
Size: 1515 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120120/30e6c240/attachment.bin>

More information about the wine-patches mailing list