diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-09-11 12:32:18 +0100 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2012-09-11 12:32:18 +0100 |
commit | 2eab7efc13c5d089c9761f7a807970cfb7ad3779 (patch) | |
tree | 07274b0cba9dfb662a43c84fcb371677ead99cae /src/xkbcomp/keymap.c | |
parent | a8d462e3669b1790dfad75836d5ec59e390392ef (diff) | |
download | libxkbcommon-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.c | 2 |
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; } |