summaryrefslogtreecommitdiff
path: root/src/xkbcomp/compat.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-10-11 12:07:43 +0200
committerRan Benita <ran234@gmail.com>2012-10-11 12:10:26 +0200
commit90b1984cbac93a17dc3837503515c23e55a109ea (patch)
tree50047566a4e97f09f8305a6ec07a159402b912c9 /src/xkbcomp/compat.c
parenta86fa17aebf40041a75b0548b81b36fdd6eeb770 (diff)
downloadlibxkbcommon-90b1984cbac93a17dc3837503515c23e55a109ea.tar.gz
libxkbcommon-90b1984cbac93a17dc3837503515c23e55a109ea.tar.bz2
libxkbcommon-90b1984cbac93a17dc3837503515c23e55a109ea.zip
compat: don't forget to copy XKB_MATCH_NONE interpret's
Commit a8d462e3669b1790dfad75836d5ec59e390392ef accidentally removed the OR with XKB_MATCH_NONE. It is in fact unused though. Signed-off-by: Ran Benita <ran234@gmail.com>
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 d19b9cc..bb64ec8 100644
--- a/src/xkbcomp/compat.c
+++ b/src/xkbcomp/compat.c
@@ -992,11 +992,11 @@ CopyCompatToKeymap(struct xkb_keymap *keymap, CompatInfo *info)
if (!darray_empty(info->interps)) {
/* Most specific to least specific. */
CopyInterps(info, true, MATCH_EXACTLY);
- CopyInterps(info, true, MATCH_ALL);
+ CopyInterps(info, true, MATCH_ALL | MATCH_NONE);
CopyInterps(info, true, MATCH_ANY);
CopyInterps(info, true, MATCH_ANY_OR_NONE);
CopyInterps(info, false, MATCH_EXACTLY);
- CopyInterps(info, false, MATCH_ALL);
+ CopyInterps(info, false, MATCH_ALL | MATCH_NONE);
CopyInterps(info, false, MATCH_ANY);
CopyInterps(info, false, MATCH_ANY_OR_NONE);
}