summaryrefslogtreecommitdiff
path: root/src/keymap.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2013-02-09 19:10:56 +0200
committerRan Benita <ran234@gmail.com>2014-04-19 17:07:34 +0300
commit95aabeecb1d1947456a1ab0d0e61399a97bcd747 (patch)
tree7d04b46d22806b83aa017ea93b3775e46661f7d9 /src/keymap.h
parentf2cbeda9f0cec4fcf73c2d6574e065d2d6fbd72b (diff)
downloadlibxkbcommon-95aabeecb1d1947456a1ab0d0e61399a97bcd747.tar.gz
libxkbcommon-95aabeecb1d1947456a1ab0d0e61399a97bcd747.tar.bz2
libxkbcommon-95aabeecb1d1947456a1ab0d0e61399a97bcd747.zip
symbols: use xkb_mod_set instead of entire keymap
The keymap is not removed entirely from the Info (just constified), since it is still needed in AddKeySymbols() for looking up aliases. This dependency will be removed in the future. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/keymap.h')
-rw-r--r--src/keymap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keymap.h b/src/keymap.h
index 76c4923..71d5ca0 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -425,7 +425,7 @@ struct xkb_key *
XkbKeyByName(struct xkb_keymap *keymap, xkb_atom_t name, bool use_aliases);
xkb_atom_t
-XkbResolveKeyAlias(struct xkb_keymap *keymap, xkb_atom_t name);
+XkbResolveKeyAlias(const struct xkb_keymap *keymap, xkb_atom_t name);
void
XkbEscapeMapName(char *name);