keynav: Fix Shift-Tab

This was broken by the shortcuts branch merge.
This commit is contained in:
Matthias Clasen 2020-04-01 00:21:19 -04:00
parent 9f93464ea4
commit dc3d778e01

View File

@ -578,7 +578,12 @@ gtk_keyval_trigger_trigger (GtkShortcutTrigger *trigger,
*/
key = self->keyval;
if (self->modifiers & GDK_SHIFT_MASK)
{
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 ||