summaryrefslogtreecommitdiff
path: root/gdk/quartz/gdkkeys-quartz.c
diff options
context:
space:
mode:
authorJohn Ralls <jralls@ceridwen.us>2014-12-24 16:10:12 -0800
committerMatthias Clasen <mclasen@redhat.com>2015-08-25 15:54:58 -0400
commitc55ff6e41fb3c6272b5e7a084c8273dea60d7dee (patch)
treea49e8f954aa091cb9d0de4dac1059f55946d70c6 /gdk/quartz/gdkkeys-quartz.c
parent30d56933d44d88c3f99b9f5e0c8d5264694026c3 (diff)
downloadgtk+-c55ff6e41fb3c6272b5e7a084c8273dea60d7dee.tar.gz
Bug 736125 - The default gtk accelerator mod mask does not include all default backend modifiers
Diffstat (limited to 'gdk/quartz/gdkkeys-quartz.c')
-rw-r--r--gdk/quartz/gdkkeys-quartz.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk/quartz/gdkkeys-quartz.c b/gdk/quartz/gdkkeys-quartz.c
index b2a52ed9f0..f9857831c9 100644
--- a/gdk/quartz/gdkkeys-quartz.c
+++ b/gdk/quartz/gdkkeys-quartz.c
@@ -761,6 +761,11 @@ gdk_quartz_keymap_get_modifier_mask (GdkKeymap *keymap,
case GDK_MODIFIER_INTENT_SHIFT_GROUP:
return GDK_MOD1_MASK;
+ case GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK:
+ return (GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK |
+ GDK_MOD2_MASK | GDK_SUPER_MASK | GDK_HYPER_MASK |
+ GDK_META_MASK);
+
default:
g_return_val_if_reached (0);
}