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

Aric Stewart aric at codeweavers.com
Fri Jan 20 08:30:50 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.

try4: Formatting changes suggested by Dmitry Timoshkov
  dlls/winex11.drv/keyboard.c |   26 ++++++++++++++++++++++++++
  1 files changed, 26 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 06d2b11fbf85b1aad8141a736528054bcc6e5768.diff
Type: text/x-patch
Size: 1522 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120120/71b605e3/attachment.bin>

More information about the wine-patches mailing list