Lines Matching refs:fake
87 static XkbAction fake; in _FixUpAction() local
91 fake.type = XkbSA_NoAction; in _FixUpAction()
92 return fake; in _FixUpAction()
96 fake.mods.type = XkbSA_LatchMods; in _FixUpAction()
97 fake.mods.mask = act->mods.mask; in _FixUpAction()
99 fake.mods.flags = XkbSA_ClearLocks | XkbSA_LatchToLock; in _FixUpAction()
101 fake.mods.flags = XkbSA_ClearLocks; in _FixUpAction()
102 return fake; in _FixUpAction()
105 fake.group.type = XkbSA_LatchGroup; in _FixUpAction()
107 fake.group.flags = XkbSA_ClearLocks | XkbSA_LatchToLock; in _FixUpAction()
109 fake.group.flags = XkbSA_ClearLocks; in _FixUpAction()
110 XkbSASetGroup(&fake.group, XkbSAGroup(&act->group)); in _FixUpAction()
111 return fake; in _FixUpAction()
125 static XkbAction fake; in XkbGetKeyAction() local
129 fake.type = XkbSA_NoAction; in XkbGetKeyAction()
130 return fake; in XkbGetKeyAction()
154 fake = _FixUpAction(xkb, &pActs[col]); in XkbGetKeyAction()
155 return fake; in XkbGetKeyAction()
161 XkbAction fake; in XkbGetButtonAction() local
165 fake = _FixUpAction(kbd->key->xkbInfo->desc, in XkbGetButtonAction()
167 return fake; in XkbGetButtonAction()
170 fake.any.type = XkbSA_NoAction; in XkbGetButtonAction()
171 return fake; in XkbGetButtonAction()