Lines Matching refs:pParent
130 RootlessComputeClips(WindowPtr pParent, ScreenPtr pScreen, in RootlessComputeClips() argument
150 borderSize.x1 = pParent->drawable.x - wBorderWidth(pParent); in RootlessComputeClips()
151 borderSize.y1 = pParent->drawable.y - wBorderWidth(pParent); in RootlessComputeClips()
152 dx = (int) pParent->drawable.x + (int) pParent->drawable.width + in RootlessComputeClips()
153 wBorderWidth(pParent); in RootlessComputeClips()
157 dy = (int) pParent->drawable.y + (int) pParent->drawable.height + in RootlessComputeClips()
158 wBorderWidth(pParent); in RootlessComputeClips()
163 oldVis = pParent->visibility; in RootlessComputeClips()
173 if ((pBounding = wBoundingShape(pParent))) { in RootlessComputeClips()
175 pParent->drawable.x, in RootlessComputeClips()
176 pParent->drawable.y)) { in RootlessComputeClips()
192 pParent->visibility = newVis; in RootlessComputeClips()
194 ((pParent-> in RootlessComputeClips()
195 eventMask | wOtherEventMasks(pParent)) & VisibilityChangeMask)) in RootlessComputeClips()
196 SendVisibilityNotify(pParent); in RootlessComputeClips()
198 dx = pParent->drawable.x - pParent->valdata->before.oldAbsCorner.x; in RootlessComputeClips()
199 dy = pParent->drawable.y - pParent->valdata->before.oldAbsCorner.y; in RootlessComputeClips()
214 pChild = pParent; in RootlessComputeClips()
239 while (!pChild->nextSib && (pChild != pParent)) in RootlessComputeClips()
241 if (pChild == pParent) in RootlessComputeClips()
259 RegionTranslate(&pParent->borderClip, dx, dy); in RootlessComputeClips()
260 RegionTranslate(&pParent->clipList, dx, dy); in RootlessComputeClips()
264 RegionEmpty(&pParent->borderClip); in RootlessComputeClips()
265 RegionEmpty(&pParent->clipList); in RootlessComputeClips()
269 borderVisible = pParent->valdata->before.borderVisible; in RootlessComputeClips()
270 RegionNull(&pParent->valdata->after.borderExposed); in RootlessComputeClips()
271 RegionNull(&pParent->valdata->after.exposed); in RootlessComputeClips()
282 if (HasBorder(pParent)) { in RootlessComputeClips()
293 RegionSubtract(exposed, universe, &pParent->borderClip); in RootlessComputeClips()
295 if (HasParentRelativeBorder(pParent) && (dx || dy)) { in RootlessComputeClips()
296 RegionSubtract(&pParent->valdata->after.borderExposed, in RootlessComputeClips()
297 universe, &pParent->winSize); in RootlessComputeClips()
300 RegionSubtract(&pParent->valdata->after.borderExposed, in RootlessComputeClips()
301 exposed, &pParent->winSize); in RootlessComputeClips()
304 RegionCopy(&pParent->borderClip, universe); in RootlessComputeClips()
312 RegionIntersect(universe, universe, &pParent->winSize); in RootlessComputeClips()
315 RegionCopy(&pParent->borderClip, universe); in RootlessComputeClips()
317 if ((pChild = pParent->firstChild) && pParent->mapped) { in RootlessComputeClips()
320 if ((pChild->drawable.y < pParent->lastChild->drawable.y) || in RootlessComputeClips()
321 ((pChild->drawable.y == pParent->lastChild->drawable.y) && in RootlessComputeClips()
322 (pChild->drawable.x < pParent->lastChild->drawable.x))) { in RootlessComputeClips()
329 for (pChild = pParent->lastChild; pChild; pChild = pChild->prevSib) { in RootlessComputeClips()
336 for (pChild = pParent->firstChild; pChild; pChild = pChild->nextSib) { in RootlessComputeClips()
376 RegionCopy(&pParent->valdata->after.exposed, universe); in RootlessComputeClips()
380 RegionSubtract(&pParent->valdata->after.exposed, in RootlessComputeClips()
381 universe, &pParent->clipList); in RootlessComputeClips()
388 tmp = pParent->clipList; in RootlessComputeClips()
389 pParent->clipList = *universe; in RootlessComputeClips()
394 RegionCopy(&pParent->clipList, universe); in RootlessComputeClips()
397 pParent->drawable.serialNumber = NEXT_SERIAL_NUMBER; in RootlessComputeClips()
400 (*pScreen->ClipNotify) (pParent, dx, dy); in RootlessComputeClips()
404 RootlessTreeObscured(WindowPtr pParent) in RootlessTreeObscured() argument
409 pChild = pParent; in RootlessTreeObscured()
422 while (!pChild->nextSib && (pChild != pParent)) in RootlessTreeObscured()
424 if (pChild == pParent) in RootlessTreeObscured()