diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-03-31 14:04:35 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-03-31 14:04:35 -0400 |
commit | da7cd6ae2531f11f562198786d564bad228a98b3 (patch) | |
tree | 14900c515b4b1ab94115c82f5c81766cba9f9475 /gtk/gtkeventcontrollerkey.c | |
parent | 8bae5348f97dac00790ed2693c8f96672f429af6 (diff) | |
download | gtk+-da7cd6ae2531f11f562198786d564bad228a98b3.tar.gz |
Trigger bindings when forwarding key events
This broke backspace handling in entries when an entry
completion is present.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1793
Diffstat (limited to 'gtk/gtkeventcontrollerkey.c')
-rw-r--r-- | gtk/gtkeventcontrollerkey.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkeventcontrollerkey.c b/gtk/gtkeventcontrollerkey.c index f7f3fe1017..6ca7020ef7 100644 --- a/gtk/gtkeventcontrollerkey.c +++ b/gtk/gtkeventcontrollerkey.c @@ -502,6 +502,9 @@ gtk_event_controller_key_forward (GtkEventControllerKey *controller, GTK_PHASE_BUBBLE)) return TRUE; + if (gtk_bindings_activate_event (G_OBJECT (widget), (GdkEventKey *)controller->current_event)) + return TRUE; + return FALSE; } |