summaryrefslogtreecommitdiff
path: root/src/xkbcomp/action.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-08-21 11:21:19 +0100
committerDaniel Stone <daniel@fooishbar.org>2012-09-10 18:26:20 +0100
commitf5dffd2b6e6a6e3875908961bfd8cd6652c49929 (patch)
tree08fe0460337fe38dc36c23a185d3afc8f30147c8 /src/xkbcomp/action.c
parent3b6b214c78c2c4fcecae1023ae92dfd29b160c42 (diff)
downloadlibxkbcommon-f5dffd2b6e6a6e3875908961bfd8cd6652c49929.tar.gz
libxkbcommon-f5dffd2b6e6a6e3875908961bfd8cd6652c49929.tar.bz2
libxkbcommon-f5dffd2b6e6a6e3875908961bfd8cd6652c49929.zip
kbproto untanglement: XkbKeyNameLength
Define it ourselves as XKB_KEY_NAME_LENGTH and use that, instead of the one from XKB.h. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/xkbcomp/action.c')
-rw-r--r--src/xkbcomp/action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xkbcomp/action.c b/src/xkbcomp/action.c
index 4e903bd..114d4ea 100644
--- a/src/xkbcomp/action.c
+++ b/src/xkbcomp/action.c
@@ -887,7 +887,7 @@ HandleRedirectKey(struct xkb_keymap *keymap, union xkb_action *action,
unsigned t1;
xkb_mod_mask_t t2;
unsigned long tmp;
- char key_name[XkbKeyNameLength];
+ char key_name[XKB_KEY_NAME_LENGTH];
if (array_ndx != NULL)
return ReportActionNotArray(keymap, action->type, field);