summaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-09-10 20:07:54 +0100
committerDaniel Stone <daniel@fooishbar.org>2012-09-10 20:07:54 +0100
commit830fe67132e9b3ca30fb36e84301b329fea9c653 (patch)
treea5ba8ff09565499bfb0c65de8a22094170582585 /src/text.c
parent0b2506db12b6d12cec0c516d7eb9698aaa5960fa (diff)
downloadlibxkbcommon-830fe67132e9b3ca30fb36e84301b329fea9c653.tar.gz
libxkbcommon-830fe67132e9b3ca30fb36e84301b329fea9c653.tar.bz2
libxkbcommon-830fe67132e9b3ca30fb36e84301b329fea9c653.zip
kbproto unentanglement: XkbIM_*
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/text.c b/src/text.c
index dca89e3..2422e02 100644
--- a/src/text.c
+++ b/src/text.c
@@ -79,22 +79,22 @@ const LookupEntry ctrlMaskNames[] = {
};
const LookupEntry modComponentMaskNames[] = {
- {"base", XkbIM_UseBase},
- {"latched", XkbIM_UseLatched},
- {"locked", XkbIM_UseLocked},
- {"effective", XkbIM_UseEffective},
- {"compat", XkbIM_UseCompat},
- {"any", XkbIM_UseAnyMods},
+ {"base", XKB_STATE_DEPRESSED},
+ {"latched", XKB_STATE_LATCHED},
+ {"locked", XKB_STATE_LOCKED},
+ {"effective", XKB_STATE_EFFECTIVE},
+ {"compat", XKB_STATE_EFFECTIVE},
+ {"any", XKB_STATE_EFFECTIVE},
{"none", 0},
{NULL, 0}
};
const LookupEntry groupComponentMaskNames[] = {
- {"base", XkbIM_UseBase},
- {"latched", XkbIM_UseLatched},
- {"locked", XkbIM_UseLocked},
- {"effective", XkbIM_UseEffective},
- {"any", XkbIM_UseAnyGroup},
+ {"base", XKB_STATE_DEPRESSED},
+ {"latched", XKB_STATE_LATCHED},
+ {"locked", XKB_STATE_LOCKED},
+ {"effective", XKB_STATE_EFFECTIVE},
+ {"any", XKB_STATE_EFFECTIVE},
{"none", 0},
{NULL, 0}
};