DescriptionCall XkbSetDetectableAutoRepeat() on Chrome start-up so the server does not send KeyRelease events when the user holds a key.
Without this, superfluous DOM key event might be sent to a page, which is bad for compatibility reasons. Note that Gdk (used by Chrome for Linux) calls the Xkb function during its initialization.
BUG=138092
TEST=see the bug for demo html; confirmed only one KeyUp DOM event is sent to the page even when a key is long-pressed.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147863
Patch Set 1 #
Messages
Total messages: 9 (0 generated)
|