summaryrefslogtreecommitdiff
path: root/src/xkbcomp/compat.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-09-10 19:23:16 +0100
committerDaniel Stone <daniel@fooishbar.org>2012-09-10 19:23:36 +0100
commit0b2506db12b6d12cec0c516d7eb9698aaa5960fa (patch)
tree3b0816464a0e32c7f4689e5b8cfdb7897a0f2901 /src/xkbcomp/compat.c
parent314965b1f093fc8cd551e3e64fe1ed699205f2e3 (diff)
downloadlibxkbcommon-0b2506db12b6d12cec0c516d7eb9698aaa5960fa.tar.gz
libxkbcommon-0b2506db12b6d12cec0c516d7eb9698aaa5960fa.tar.bz2
libxkbcommon-0b2506db12b6d12cec0c516d7eb9698aaa5960fa.zip
kbproto unentanglement: action types
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/xkbcomp/compat.c')
-rw-r--r--src/xkbcomp/compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xkbcomp/compat.c b/src/xkbcomp/compat.c
index 6bfc635..5ae80ab 100644
--- a/src/xkbcomp/compat.c
+++ b/src/xkbcomp/compat.c
@@ -240,7 +240,7 @@ InitCompatInfo(CompatInfo *info, struct xkb_keymap *keymap, unsigned file_id,
info->dflt.interp.flags = 0;
info->dflt.interp.virtual_mod = XKB_MOD_INVALID;
memset(&info->dflt.interp.act, 0, sizeof(info->dflt.interp.act));
- info->dflt.interp.act.type = XkbSA_NoAction;
+ info->dflt.interp.act.type = ACTION_TYPE_NONE;
memset(&info->ledDflt, 0, sizeof(info->ledDflt));
info->ledDflt.file_id = file_id;
info->ledDflt.merge = MERGE_OVERRIDE;
@@ -258,7 +258,7 @@ ClearCompatInfo(CompatInfo *info)
info->dflt.interp.flags = 0;
info->dflt.interp.virtual_mod = XKB_MOD_INVALID;
memset(&info->dflt.interp.act, 0, sizeof(info->dflt.interp.act));
- info->dflt.interp.act.type = XkbSA_NoAction;
+ info->dflt.interp.act.type = ACTION_TYPE_NONE;
memset(&info->ledDflt, 0, sizeof(info->ledDflt));
darray_free(info->interps);
darray_free(info->leds);