summaryrefslogtreecommitdiff
path: root/src/xkbcomp/keymap.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-09-11 12:32:18 +0100
committerDaniel Stone <daniel@fooishbar.org>2012-09-11 12:32:18 +0100
commit2eab7efc13c5d089c9761f7a807970cfb7ad3779 (patch)
tree07274b0cba9dfb662a43c84fcb371677ead99cae /src/xkbcomp/keymap.c
parenta8d462e3669b1790dfad75836d5ec59e390392ef (diff)
downloadlibxkbcommon-2eab7efc13c5d089c9761f7a807970cfb7ad3779.tar.gz
libxkbcommon-2eab7efc13c5d089c9761f7a807970cfb7ad3779.tar.bz2
libxkbcommon-2eab7efc13c5d089c9761f7a807970cfb7ad3779.zip
kbproto unentanglement: XkbSI_AutoRepeat
That was the only interp flag, so just turn it into a straight boolean. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/xkbcomp/keymap.c')
-rw-r--r--src/xkbcomp/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xkbcomp/keymap.c b/src/xkbcomp/keymap.c
index 4bad351..b917d79 100644
--- a/src/xkbcomp/keymap.c
+++ b/src/xkbcomp/keymap.c
@@ -154,7 +154,7 @@ ApplyInterpsToKey(struct xkb_keymap *keymap, struct xkb_key *key)
/* Infer default key behaviours from the base level. */
if (group == 0 && level == 0) {
if (!(key->explicit & XkbExplicitAutoRepeatMask) &&
- (!interp || (interp->flags & XkbSI_AutoRepeat)))
+ (!interp || interp->repeat))
key->repeats = true;
}