summaryrefslogtreecommitdiff
path: root/gdk/quartz/gdkkeys-quartz.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/quartz/gdkkeys-quartz.c')
-rw-r--r--gdk/quartz/gdkkeys-quartz.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdk/quartz/gdkkeys-quartz.c b/gdk/quartz/gdkkeys-quartz.c
index dd8b63e29..7a2448b50 100644
--- a/gdk/quartz/gdkkeys-quartz.c
+++ b/gdk/quartz/gdkkeys-quartz.c
@@ -322,6 +322,12 @@ maybe_update_keymap (void)
break;
}
}
+
+ /* Special-case shift-tab since GTK+ expects
+ * GDK_ISO_Left_Tab for that.
+ */
+ if (found && p[j] == GDK_Tab && modifiers[j] == shiftKey)
+ p[j] = GDK_ISO_Left_Tab;
if (!found)
p[j] = gdk_unicode_to_keyval (uc);