summaryrefslogtreecommitdiff
path: root/gtk/gtkkeyhash.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-05-21 17:49:49 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-05-21 17:49:49 +0000
commite1fb5367240780c2ceeba42dd87c9b5e253cf1b9 (patch)
tree8b6c8cc6352fd9367be489dda5d5d6c302ba25d9 /gtk/gtkkeyhash.h
parent534710deaca25f295be17b4009adc34fe7883176 (diff)
downloadgtk+-e1fb5367240780c2ceeba42dd87c9b5e253cf1b9.tar.gz
We need to pass the unmasked state to
Wed May 21 12:52:01 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkkeyhash.[ch] (_gtk_key_hash_looku): We need to pass the unmasked state to gdk_keymap_translate_keyboard_state() to handle the case where a modifier not in the mask (like Num_Lock) changes the key value, so replace the masked state with a state/mask pair. (#106913, Olivier Ripoll) * gtk/gtkwindow.c gtk/gtkbinding.c: Update to pass in state/mask pair to _gtk_key_hash_lookup()
Diffstat (limited to 'gtk/gtkkeyhash.h')
-rw-r--r--gtk/gtkkeyhash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkkeyhash.h b/gtk/gtkkeyhash.h
index d02c9f5f66..cbc6679b10 100644
--- a/gtk/gtkkeyhash.h
+++ b/gtk/gtkkeyhash.h
@@ -39,6 +39,7 @@ void _gtk_key_hash_remove_entry (GtkKeyHash *key_hash,
GSList * _gtk_key_hash_lookup (GtkKeyHash *key_hash,
guint16 hardware_keycode,
GdkModifierType state,
+ GdkModifierType mask,
gint group);
GSList * _gtk_key_hash_lookup_keyval (GtkKeyHash *key_hash,
guint keyval,