Lines Matching defs:pRREvent
78 RREventPtr pRREvent, *pHead;
99 pRREvent = NULL;
103 for (pRREvent = *pHead; pRREvent; pRREvent = pRREvent->next)
104 if (pRREvent->client == client)
108 if (!pRREvent)
111 pRREvent = (RREventPtr) malloc(sizeof (RREventRec));
112 if (!pRREvent)
114 pRREvent->next = 0;
115 pRREvent->client = client;
116 pRREvent->window = pWin;
117 pRREvent->mask = stuff->enable;
123 pRREvent->clientResource = clientResource;
124 if (!AddResource (clientResource, RRClientType, (pointer)pRREvent))
143 pRREvent->next = *pHead;
144 *pHead = pRREvent;
157 if (pRREvent->mask & RRScreenChangeNotifyMask)
162 if (pRREvent->mask & RRCrtcChangeNotifyMask)
172 if (pRREvent->mask & RROutputChangeNotifyMask)
194 for (pRREvent = *pHead; pRREvent; pRREvent = pRREvent->next) {
195 if (pRREvent->client == client)
197 pNewRREvent = pRREvent;
199 if (pRREvent) {
200 FreeResource (pRREvent->clientResource, RRClientType);
202 pNewRREvent->next = pRREvent->next;
204 *pHead = pRREvent->next;
205 free(pRREvent);