Merge branch 'matthiasc/for-master' into 'master'

keynav: Fix Shift-Tab

See merge request GNOME/gtk!1598
This commit is contained in:
Matthias Clasen 2020-04-01 05:04:02 +00:00
commit 6ae5d9ac22

View File

@ -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 ||