"Andrew Eikum" aeikum@codeweavers.com wrote:
The root cause of this is X's XKeysymToKeycode returning the keycode for the phantom key instead of the keycode for the comma key when passed the keysym for '<' (XK_less). This isn't incorrect on X's part, but inconvenient for Wine as most US keyboards don't have the <> key, but rather use the shifted comma key.
Why do you think that it's OK for X11 to return the phantom key for '<' from XKeysymToKeycode? That's clearly a problem with X11 keyboard layout. Are you going to introduce another hack if/once X11 starts to return something else?