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