Lines Matching refs:pRREvent
78 RREventPtr pRREvent, *pHead; in ProcRRSelectInput() local
102 pRREvent = NULL; in ProcRRSelectInput()
105 for (pRREvent = *pHead; pRREvent; pRREvent = pRREvent->next) in ProcRRSelectInput()
106 if (pRREvent->client == client) in ProcRRSelectInput()
110 if (!pRREvent) { in ProcRRSelectInput()
112 pRREvent = (RREventPtr) malloc(sizeof(RREventRec)); in ProcRRSelectInput()
113 if (!pRREvent) in ProcRRSelectInput()
115 pRREvent->next = 0; in ProcRRSelectInput()
116 pRREvent->client = client; in ProcRRSelectInput()
117 pRREvent->window = pWin; in ProcRRSelectInput()
118 pRREvent->mask = stuff->enable; in ProcRRSelectInput()
124 pRREvent->clientResource = clientResource; in ProcRRSelectInput()
125 if (!AddResource(clientResource, RRClientType, (void *) pRREvent)) in ProcRRSelectInput()
143 pRREvent->next = *pHead; in ProcRRSelectInput()
144 *pHead = pRREvent; in ProcRRSelectInput()
155 if (pRREvent->mask & RRScreenChangeNotifyMask) { in ProcRRSelectInput()
159 if (pRREvent->mask & RRCrtcChangeNotifyMask) { in ProcRRSelectInput()
167 if (pRREvent->mask & RROutputChangeNotifyMask) { in ProcRRSelectInput()
188 for (pRREvent = *pHead; pRREvent; pRREvent = pRREvent->next) { in ProcRRSelectInput()
189 if (pRREvent->client == client) in ProcRRSelectInput()
191 pNewRREvent = pRREvent; in ProcRRSelectInput()
193 if (pRREvent) { in ProcRRSelectInput()
194 FreeResource(pRREvent->clientResource, RRClientType); in ProcRRSelectInput()
196 pNewRREvent->next = pRREvent->next; in ProcRRSelectInput()
198 *pHead = pRREvent->next; in ProcRRSelectInput()
199 free(pRREvent); in ProcRRSelectInput()