http://bugs.winehq.org/show_bug.cgi?id=6323
------- Additional Comments From deankus@gmail.com 2007-30-01 21:45 ------- Created an attachment (id=4730) --> (http://bugs.winehq.org/attachment.cgi?id=4730&action=view) Proposed patch
XmbLookupString was being called with KeyRelease events, which has undefined behavior (in this case, it fails to return a valid keysym for numpad key releases). By instead calling XLookupString in the case of a KeyRelease, we can obtain a valid keysym.