diff options
author | Ran Benita <ran234@gmail.com> | 2012-11-24 13:29:54 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2014-08-18 20:26:19 +0300 |
commit | 99184f1614548722e3531e55bb19ac74327c98cb (patch) | |
tree | f7e3fb372a2fbcb9823eb7b8e6c82a1544463a54 /src/keymap.h | |
parent | 80ae8e61ffe0677369e9f5f865ffe3ae76541816 (diff) | |
download | xorg-lib-libxkbcommon-99184f1614548722e3531e55bb19ac74327c98cb.tar.gz |
Make the effective mod mask calculation available to other files
We will want to use that function in state.c as well.
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/keymap.h')
-rw-r--r-- | src/keymap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/keymap.h b/src/keymap.h index 613f955..ac688e2 100644 --- a/src/keymap.h +++ b/src/keymap.h @@ -461,6 +461,9 @@ XkbWrapGroupIntoRange(int32_t group, enum xkb_range_exceed_type out_of_range_group_action, xkb_layout_index_t out_of_range_group_number); +xkb_mod_mask_t +mod_mask_get_effective(struct xkb_keymap *keymap, xkb_mod_mask_t mods); + struct xkb_keymap_format_ops { bool (*keymap_new_from_names)(struct xkb_keymap *keymap, const struct xkb_rule_names *names); |