compat: don't forget to copy XKB_MATCH_NONE interpret's

Commit a8d462e366 accidentally removed the
OR with XKB_MATCH_NONE. It is in fact unused though.

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2012-10-11 12:07:43 +02:00
parent a86fa17aeb
commit 90b1984cba
1 changed files with 2 additions and 2 deletions

View File

@ -992,11 +992,11 @@ CopyCompatToKeymap(struct xkb_keymap *keymap, CompatInfo *info)
if (!darray_empty(info->interps)) { if (!darray_empty(info->interps)) {
/* Most specific to least specific. */ /* Most specific to least specific. */
CopyInterps(info, true, MATCH_EXACTLY); 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);
CopyInterps(info, true, MATCH_ANY_OR_NONE); CopyInterps(info, true, MATCH_ANY_OR_NONE);
CopyInterps(info, false, MATCH_EXACTLY); 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);
CopyInterps(info, false, MATCH_ANY_OR_NONE); CopyInterps(info, false, MATCH_ANY_OR_NONE);
} }