diff options
author | Ran Benita <ran234@gmail.com> | 2012-10-06 17:21:09 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2012-10-06 21:42:00 +0200 |
commit | 39232e6dae3f7fcaae49ed05cb0e48117a46616e (patch) | |
tree | 89cb15d90d2b5099c03458ff0b33565ec8967942 /src/text.h | |
parent | e6e3bda3934345bce203558df57ade467e62a337 (diff) | |
download | libxkbcommon-39232e6dae3f7fcaae49ed05cb0e48117a46616e.tar.gz libxkbcommon-39232e6dae3f7fcaae49ed05cb0e48117a46616e.tar.bz2 libxkbcommon-39232e6dae3f7fcaae49ed05cb0e48117a46616e.zip |
Remove now-unneeded mod type annotations
Most of the mod type annotations can now be changed to MOD_BOTH, because
if you pass a mask which can only contain real mods in the first place to
e.g. ModMaskText, then MOD_REAL and MOD_BOTH will give the same result.
In the cases where MOD_BOTH is only ever the argument, we just remove
it. What's left is where it really "matters".
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -48,12 +48,10 @@ extern const LookupEntry actionTypeNames[]; extern const LookupEntry symInterpretMatchMaskNames[]; const char * -ModMaskText(const struct xkb_keymap *keymap, xkb_mod_mask_t mask, - enum mod_type type); +ModMaskText(const struct xkb_keymap *keymap, xkb_mod_mask_t mask); const char * -ModIndexText(const struct xkb_keymap *keymap, xkb_mod_index_t ndx, - enum mod_type type); +ModIndexText(const struct xkb_keymap *keymap, xkb_mod_index_t ndx); xkb_mod_index_t ModNameToIndex(const struct xkb_keymap *keymap, xkb_atom_t name, |