winex11.drv: Strip the _XXX from X11DRV_GetKeyNameText when approperate
Aric Stewart
aric at codeweavers.com
Tue Jan 17 10:32:00 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 | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10e126aa8c7cf205865007cf5bca20fcbc68934d.diff
Type: text/x-patch
Size: 1328 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120117/90adb5d6/attachment.bin>
More information about the wine-patches
mailing list