summaryrefslogtreecommitdiff
path: root/gdk/quartz
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-02-12 15:45:16 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-02-12 18:55:42 -0500
commit13d69e552dffe681ee80c0600366a8c04fc205c6 (patch)
tree0c2c6769737c211a0b5f8e36b86a752dbf4fcdc2 /gdk/quartz
parent6f566057e85dc0d542f26db1d7964a774a5f88a4 (diff)
downloadgtk+-13d69e552dffe681ee80c0600366a8c04fc205c6.tar.gz
Fix a compatibility problem
It turns out that my attempt at handling Super, Hyper and Meta better is causing problems, mostly because Alt and Meta are commonly colocated in the modmap, and apps do a check for the Alt modifier regularly. See e.g bug 607697.
Diffstat (limited to 'gdk/quartz')
-rw-r--r--gdk/quartz/gdkkeys-quartz.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdk/quartz/gdkkeys-quartz.c b/gdk/quartz/gdkkeys-quartz.c
index a277af35d1..52b08677a5 100644
--- a/gdk/quartz/gdkkeys-quartz.c
+++ b/gdk/quartz/gdkkeys-quartz.c
@@ -652,6 +652,13 @@ gdk_keymap_translate_keyboard_state (GdkKeymap *keymap,
return TRUE;
}
+void
+gdk_keymap_add_virtual_modifiers (GdkKeymap *keymap,
+ GdkModifierType *state)
+{
+ /* FIXME: For now, we've mimiced the Windows backend. */
+}
+
gboolean
gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap,
GdkModifierType *state)