Lines Matching defs:mods
283 CARD8 mods;
292 mods = real_mods;
294 mods = 0;
297 match = ((interp->mods & mods) == 0);
300 match = ((mods == 0) || ((interp->mods & mods) != 0));
303 match = ((interp->mods & mods) != 0);
306 match = ((interp->mods & mods) == interp->mods);
309 match = (interp->mods == mods);
345 _XkbSetActionKeyMods(XkbDescPtr xkb, XkbAction *act, unsigned mods)
353 if (act->mods.flags & XkbSA_UseModMapMods)
354 act->mods.real_mods = act->mods.mask = mods;
355 if ((tmp = XkbModActionVMods(&act->mods)) != 0) {
357 act->mods.mask |= tmp;
362 act->iso.real_mods = act->iso.mask = mods;
378 unsigned char explicit, mods;
396 mods = (xkb->map->modmap ? xkb->map->modmap[key] : 0);
415 interps[n] = _XkbFindMatchingInterp(xkb, syms[n], mods, level);
447 effMods = mods;
694 if (((tmp = XkbModActionVMods(&act->mods)) & changed) != 0) {
696 act->mods.mask = act->mods.real_mods;
697 act->mods.mask |= tmp;
721 XkbVirtualModsToReal(xkb, type->mods.vmods, &mask);
722 type->mods.mask = type->mods.real_mods | mask;
723 if ((type->map_count > 0) && (type->mods.vmods != 0)) {
727 if (entry->mods.vmods != 0) {
728 XkbVirtualModsToReal(xkb, entry->mods.vmods, &mask);
729 entry->mods.mask = entry->mods.real_mods | mask;
775 if (xkb->map->types[i].mods.vmods & changed)
810 if (map->mods.vmods & changed) {
813 XkbVirtualModsToReal(xkb, map->mods.vmods, &newMask);
814 newMask |= map->mods.real_mods;
815 if (newMask != map->mods.mask) {
816 map->mods.mask = newMask;