wayland: key repeat is handled after calling input methods
Previously, until GNOME 3.26, key repeat events were synthesized before calling IM's process-key-event. On GNOME 3.28, however, that is done afterwards. Although this change gives IMs an opportunity to control the key repeat behavior, some IMs expect the previous behavior and sometimes do not send the key press/release pair correctly. That could lead to indefinite repeat of keys, as reported in:
where the IM (ibus-skk) swallows the key release of Return
, regardless of whether it handles the corresponding key press.
Edited by Daiki Ueno