summaryrefslogtreecommitdiff
path: root/gtk/gtkkeyhash.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-09-06 17:56:01 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-06 17:56:01 +0000
commit543ce67477599e8b519a66fec1fc34d2e7157066 (patch)
treecf80f6cb706ccad8145aa7eb9087e2054172f83a /gtk/gtkkeyhash.c
parent5e93e9da16947fd4d8fe8541fdcd26cb20bdbed7 (diff)
downloadgtk+-543ce67477599e8b519a66fec1fc34d2e7157066.tar.gz
Add support for extra virtual modifiers: (#85780, Owen Taylor)
2005-09-06 Matthias Clasen <mclasen@redhat.com> Add support for extra virtual modifiers: (#85780, Owen Taylor) * gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Add a modmap to maintain the information which X modifiers map to virtual modifiers. (get_xkb): Set up the modmap from the XKB tables. (update_keymaps): Set up the modmap from the information returned by XGetModifierMapping in the non-XKB case. * gdk/x11/gdkprivate-x11.h: * gdk/x11/gdkkeys-x11.c (_gdk_keymap_add_virtual_modifiers): New function to set the virtual modifiers in the state. * gdk/x11/gdkevents-x11.c (translate_key_event): Call _gdk_keymap_add_virtual_modifiers here. * gdk/gdktypes.h (GdkModifierType): Add bits for virtual Super, Hyper and Meta modifiers. Also add GDK_ALT_MASK as an alias for GDK_MOD1_MASK.
Diffstat (limited to 'gtk/gtkkeyhash.c')
0 files changed, 0 insertions, 0 deletions