diff options
author | Ran Benita <ran234@gmail.com> | 2014-09-25 22:01:17 +0300 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2014-09-25 22:01:17 +0300 |
commit | 725ae134d434bab6c999121d55dbc3582c4acb65 (patch) | |
tree | 19eb1afb751b507e76d28ed209d6e58021e9d8bd /src/keymap.h | |
parent | 2c259f178229ec8b71f8a62d4e23b7dbdac007c7 (diff) | |
download | xorg-lib-libxkbcommon-725ae134d434bab6c999121d55dbc3582c4acb65.tar.gz |
keymap: rename XkbKeyGroupWidth to XkbKeyNumLevels
The "width" terminology comes from the group*width+level layout of the
keysyms in a key, as used in the old implementations. We don't keep all
the keysyms of a key in one array so change it to a more accurate name.
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/keymap.h')
-rw-r--r-- | src/keymap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keymap.h b/src/keymap.h index ac688e2..91e95c2 100644 --- a/src/keymap.h +++ b/src/keymap.h @@ -432,7 +432,7 @@ XkbKey(struct xkb_keymap *keymap, xkb_keycode_t kc) } static inline xkb_level_index_t -XkbKeyGroupWidth(const struct xkb_key *key, xkb_layout_index_t layout) +XkbKeyNumLevels(const struct xkb_key *key, xkb_layout_index_t layout) { return key->groups[layout].type->num_levels; } |