summaryrefslogtreecommitdiff
path: root/gdk/gdkkeys.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-12-21 11:15:28 -0500
committerMatthias Clasen <mclasen@redhat.com>2009-12-21 11:15:28 -0500
commit03b179c5e8311591f1487a650fec6f20a136e9ca (patch)
treeabc355b621fa83e630aa15463c8cd82f962a1f29 /gdk/gdkkeys.h
parent60e0183ac9a56fa0d05971a8cf90798053b430c7 (diff)
downloadgtk+-03b179c5e8311591f1487a650fec6f20a136e9ca.tar.gz
Try harder to handle accelerators involving virtual modifiers
This patch changes GDK to add all matching virtual modifiers in the state field of the key event. The corresponding GTK+ change makes use of a new GdkKeymap function to map virtual modifiers back to real modifiers and detect conflicts while doing so. This should fix bug 603190 and bug 427409.
Diffstat (limited to 'gdk/gdkkeys.h')
-rw-r--r--gdk/gdkkeys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkkeys.h b/gdk/gdkkeys.h
index 63a226620b..6fe55f7bb2 100644
--- a/gdk/gdkkeys.h
+++ b/gdk/gdkkeys.h
@@ -108,6 +108,8 @@ gboolean gdk_keymap_get_entries_for_keycode (GdkKeymap *keymap,
PangoDirection gdk_keymap_get_direction (GdkKeymap *keymap);
gboolean gdk_keymap_have_bidi_layouts (GdkKeymap *keymap);
gboolean gdk_keymap_get_caps_lock_state (GdkKeymap *keymap);
+gboolean gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap,
+ GdkModifierType *state);
/* Key values
*/