From 39082082f6716e7ffca78566db506edbd6822b53 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sun, 28 Feb 2016 00:33:19 +0200 Subject: keymap: share LevelsSameSyms() The function is generic enough. Signed-off-by: Ran Benita --- src/keymap.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/keymap.h') diff --git a/src/keymap.h b/src/keymap.h index d20442f..1093e47 100644 --- a/src/keymap.h +++ b/src/keymap.h @@ -455,6 +455,9 @@ xkb_mod_index_t XkbModNameToIndex(const struct xkb_mod_set *mods, xkb_atom_t name, enum mod_type type); +bool +XkbLevelsSameSyms(const struct xkb_level *a, const struct xkb_level *b); + xkb_layout_index_t XkbWrapGroupIntoRange(int32_t group, xkb_layout_index_t num_groups, -- cgit v1.2.1