Lines Matching refs:pNewEvent
226 WMEventPtr pEvent, pNewEvent, *pHead; in ProcAppleWMSelectInput() local
248 pNewEvent = (WMEventPtr)malloc(sizeof(WMEventRec)); in ProcAppleWMSelectInput()
249 if (!pNewEvent) in ProcAppleWMSelectInput()
251 pNewEvent->next = 0; in ProcAppleWMSelectInput()
252 pNewEvent->client = client; in ProcAppleWMSelectInput()
253 pNewEvent->mask = stuff->mask; in ProcAppleWMSelectInput()
259 pNewEvent->clientResource = clientResource; in ProcAppleWMSelectInput()
260 if (!AddResource(clientResource, ClientType, (void *)pNewEvent)) in ProcAppleWMSelectInput()
277 pNewEvent->next = *pHead; in ProcAppleWMSelectInput()
278 *pHead = pNewEvent; in ProcAppleWMSelectInput()
284 pNewEvent = 0; in ProcAppleWMSelectInput()
288 pNewEvent = pEvent; in ProcAppleWMSelectInput()
292 if (pNewEvent) in ProcAppleWMSelectInput()
293 pNewEvent->next = pEvent->next; in ProcAppleWMSelectInput()