Lines Matching defs:mods
148 if ((map->mods.mask)&&((map->which_mods&(~XkbIM_UseBase))!=0)) {
152 if (on) state->locked_mods|= map->mods.mask;
153 else state->locked_mods&= ~map->mods.mask;
160 if (on) newmods|= map->mods.mask;
161 else newmods&= ~map->mods.mask;
163 newmods&= map->mods.mask;
164 XkbLatchModifiers(xkbi->device,map->mods.mask,newmods);
187 CARD8 mods,group;
190 mods= group= 0;
193 mods|= state->base_mods;
195 mods|= state->latched_mods;
197 mods|= state->locked_mods;
199 mods|= state->mods;
201 mods|= state->compat_state;
202 on = ((map->mods.mask&mods)!=0);
203 on = on||((mods==0)&&(map->mods.mask==0)&&(map->mods.vmods==0));
482 map->mods.mask= map->mods.real_mods;
483 if (map->mods.vmods!=0) {
484 map->mods.mask|= XkbMaskForVMask(xkb,map->mods.vmods);