xkbcommon/libxkbcommon — pull request #10 by magcius (2014-08-14 21:41:41+00:00)
Title: keymap: Add xkb_keymap_mod_get_mask

This is a convenience function to return the xkb_mod_mask_t for a given
modifier. The use for this is so we can find the correct mod mask for
a given modifier when calling XIGrabButton / XIGrabKeycode, or to
decipher device events we get from the server.