compat: fix XkbSI_AllOf matching condition
authorRan Benita <ran234@gmail.com>
Fri, 13 Jul 2012 11:40:14 +0000 (14:40 +0300)
committerRan Benita <ran234@gmail.com>
Fri, 13 Jul 2012 16:06:54 +0000 (19:06 +0300)
commitb7c0737a949dc3592e671c0605f2322c13f74709
treecc3299f62ee159b283247277404be85f6cee3366
parent6e7d1678ba05981724d2771f38d1a476e74f6239
compat: fix XkbSI_AllOf matching condition

To quote the spec:

XkbSI_AllOf
    All of the bits that are on in mods must be set, but others may be
    set as well.

Here "mods" refers to interp->mods. This matches xserver/libX11.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/compat.c