summaryrefslogtreecommitdiff
path: root/mi/miwindow.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-07-08 14:11:22 -0400
committerAdam Jackson <ajax@redhat.com>2014-07-29 09:51:43 -0400
commit35eabf2e5272e17e6765027d4baea43b34c66933 (patch)
tree4efdf0d260afd319c964446e52f68425818fb759 /mi/miwindow.c
parent150acef3af9bb43cb60cbcc558ef3ad4a710e624 (diff)
downloadxserver-35eabf2e5272e17e6765027d4baea43b34c66933.tar.gz
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>
Diffstat (limited to 'mi/miwindow.c')
-rw-r--r--mi/miwindow.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/mi/miwindow.c b/mi/miwindow.c
index 57de91bab..82c3513c8 100644
--- a/mi/miwindow.c
+++ b/mi/miwindow.c
@@ -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)
{