mi: Remove apparently unused miSegregateChildren
This came in between XFree86 4.3 and 4.4, I'm not entirely sure what it was meant to do. Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
150acef3af
commit
35eabf2e52
3
mi/mi.h
3
mi/mi.h
|
@ -515,9 +515,6 @@ extern _X_EXPORT void miMarkUnrealizedWindow(WindowPtr /*pChild */ ,
|
|||
Bool /*fromConfigure */
|
||||
);
|
||||
|
||||
extern _X_EXPORT void miSegregateChildren(WindowPtr pWin, RegionPtr pReg,
|
||||
int depth);
|
||||
|
||||
extern _X_EXPORT WindowPtr miSpriteTrace(SpritePtr pSprite, int x, int y);
|
||||
|
||||
extern _X_EXPORT WindowPtr miXYToWindow(ScreenPtr pScreen, SpritePtr pSprite, int x, int y);
|
||||
|
|
|
@ -746,20 +746,6 @@ miMarkUnrealizedWindow(WindowPtr pChild, WindowPtr pWin, Bool fromConfigure)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
miSegregateChildren(WindowPtr pWin, RegionPtr pReg, int depth)
|
||||
{
|
||||
WindowPtr pChild;
|
||||
|
||||
for (pChild = pWin->firstChild; pChild; pChild = pChild->nextSib) {
|
||||
if (pChild->drawable.depth == depth)
|
||||
RegionUnion(pReg, pReg, &pChild->borderClip);
|
||||
|
||||
if (pChild->firstChild)
|
||||
miSegregateChildren(pChild, pReg, depth);
|
||||
}
|
||||
}
|
||||
|
||||
WindowPtr
|
||||
miSpriteTrace(SpritePtr pSprite, int x, int y)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue