From 35eabf2e5272e17e6765027d4baea43b34c66933 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 8 Jul 2014 14:11:22 -0400 Subject: 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 Signed-off-by: Adam Jackson --- mi/mi.h | 3 --- mi/miwindow.c | 14 -------------- 2 files changed, 17 deletions(-) diff --git a/mi/mi.h b/mi/mi.h index feba5cb0c..d5a5ba374 100644 --- a/mi/mi.h +++ b/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); 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) { -- cgit v1.2.3