Lines Matching refs:act
338 _XkbSetActionKeyMods(XkbDescPtr xkb,XkbAction *act,unsigned mods)
342 switch (act->type) {
344 if (act->mods.flags&XkbSA_UseModMapMods)
345 act->mods.real_mods= act->mods.mask= mods;
346 if ((tmp= XkbModActionVMods(&act->mods))!=0) {
348 act->mods.mask|= tmp;
352 if (act->iso.flags&XkbSA_UseModMapMods)
353 act->iso.real_mods= act->iso.mask= mods;
354 if ((tmp= XkbModActionVMods(&act->iso))!=0) {
356 act->iso.mask|= tmp;
406 if (interps[n]&&interps[n]->act.type!=XkbSA_NoAction)
433 pActs[n]= *((XkbAction *)&interps[n]->act);
664 XkbUpdateActionVirtualMods(XkbDescPtr xkb,XkbAction *act,unsigned changed)
668 switch (act->type) {
670 if (((tmp= XkbModActionVMods(&act->mods))&changed)!=0) {
672 act->mods.mask= act->mods.real_mods;
673 act->mods.mask|= tmp;
678 if ((((tmp= XkbModActionVMods(&act->iso))!=0)&changed)!=0) {
680 act->iso.mask= act->iso.real_mods;
681 act->iso.mask|= tmp;