(try 5)winex11.drv: Strip the _L or _R from X11DRV_GetKeyNameText when approperate
Aric Stewart
aric at codeweavers.com
Fri Jan 20 14:07:05 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.
try5: 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: 25099b1a3dd6557ff47c5c2aeb5a004dbd658c5e.diff
Type: text/x-patch
Size: 1476 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120120/a02f02b9/attachment.bin>
More information about the wine-patches
mailing list