Remove now-unneeded mod type annotations
authorRan Benita <ran234@gmail.com>
Sat, 6 Oct 2012 15:21:09 +0000 (17:21 +0200)
committerRan Benita <ran234@gmail.com>
Sat, 6 Oct 2012 19:42:00 +0000 (21:42 +0200)
commit39232e6dae3f7fcaae49ed05cb0e48117a46616e
tree89cb15d90d2b5099c03458ff0b33565ec8967942
parente6e3bda3934345bce203558df57ade467e62a337
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>
src/keymap-dump.c
src/text.c
src/text.h
src/xkbcomp/compat.c
src/xkbcomp/keymap.c
src/xkbcomp/symbols.c
src/xkbcomp/types.c