summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-04-01 00:21:19 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-04-01 00:21:19 -0400
commitdc3d778e01ada20ce13a85f14165740a797d7484 (patch)
tree73ca82c67089a583cd891101ce458c306a9e5d0d
parent9f93464ea49b7d91551a65bbf16e8367bbcb6562 (diff)
downloadgtk+-dc3d778e01ada20ce13a85f14165740a797d7484.tar.gz
keynav: Fix Shift-Tab
This was broken by the shortcuts branch merge.
-rw-r--r--gtk/gtkshortcuttrigger.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/gtkshortcuttrigger.c b/gtk/gtkshortcuttrigger.c
index 0fdc5edb17..8be4bd3349 100644
--- a/gtk/gtkshortcuttrigger.c
+++ b/gtk/gtkshortcuttrigger.c
@@ -578,7 +578,12 @@ gtk_keyval_trigger_trigger (GtkShortcutTrigger *trigger,
*/
key = self->keyval;
if (self->modifiers & GDK_SHIFT_MASK)
- key = gdk_keyval_to_upper (key);
+ {
+ if (key == GDK_KEY_Tab)
+ key = GDK_KEY_ISO_Left_Tab;
+ else
+ key = gdk_keyval_to_upper (key);
+ }
if (keyval == key && /* exact match */
(!group_mod_is_accel_mod ||