Hello,
please review fix for
bug: https://bugs.openjdk.java.net/browse/JDK-8019282
webrev: http://cr.openjdk.java.net/~serb/8019282/webrev.00
The standard behavior of the X server is to generate a KeyRelease event
for every KeyPress event.
That is why we receiving KEY_RELEASED event when auto-repeat feature is
active.
Fortunately, there is XkbSetDetectableAutoRepeat function:
http://linux.die.net/man/3/xkbsetdetectableautorepeat
It allows to receive KeyRelease events only when the key is physically
released (like on Windows).
--
--
Thanks,
Alexander.