keybindings: Ignore auto-repeat events for some keybindings

Desktop / GNOME / Mutter - Andrea Azzarone [canonical.com] - 20 August 2018 10:16 EDT

Detect auto-repeat events in process_event and ignore them if the keybinding has the META_KEY_BINDING_IGNORE_AUTOREPEAT flag.

Fixes: gnome-shell#373

0cc3cd62b keybindings: Ignore auto-repeat events for some keybindings
src/core/keybindings.c | 171 +++++++++++++++++++++++++++++++++----------------
src/meta/prefs.h | 1 +
2 files changed, 118 insertions(+), 54 deletions(-)

Upstream: git.gnome.org


  • Share