Add a way to get the current modifier state

Xkb makes this available to us, and it is useful if you want
to do easter eggs that are triggered by Alt.
This commit is contained in:
Matthias Clasen
2012-02-21 00:30:44 +01:00
parent 8ec0cfd571
commit 9a92a1da89
7 changed files with 51 additions and 6 deletions

View File

@ -631,6 +631,7 @@ gdk_keymap_get_direction
gdk_keymap_have_bidi_layouts
gdk_keymap_get_caps_lock_state
gdk_keymap_get_num_lock_state
gdk_keymap_get_modifier_state
gdk_keymap_add_virtual_modifiers
gdk_keymap_map_virtual_modifiers
gdk_keymap_get_modifier_mask