mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
mi: drop unused miOverlaySetRootClip()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -1533,33 +1533,6 @@ miOverlayChangeBorderWidth(WindowPtr pWin, unsigned int width)
|
||||
WindowsRestructured();
|
||||
}
|
||||
|
||||
/* We need this as an addition since the xf86 common code doesn't
|
||||
know about the second tree which is static to this file. */
|
||||
|
||||
void
|
||||
miOverlaySetRootClip(ScreenPtr pScreen, Bool enable)
|
||||
{
|
||||
WindowPtr pRoot = pScreen->root;
|
||||
miOverlayTreePtr pTree = MIOVERLAY_GET_WINDOW_TREE(pRoot);
|
||||
|
||||
MARK_UNDERLAY(pRoot);
|
||||
|
||||
if (enable) {
|
||||
BoxRec box;
|
||||
|
||||
box.x1 = 0;
|
||||
box.y1 = 0;
|
||||
box.x2 = pScreen->width;
|
||||
box.y2 = pScreen->height;
|
||||
|
||||
RegionReset(&pTree->borderClip, &box);
|
||||
}
|
||||
else
|
||||
RegionEmpty(&pTree->borderClip);
|
||||
|
||||
RegionBreak(&pTree->clipList);
|
||||
}
|
||||
|
||||
static void
|
||||
miOverlayClearToBackground(WindowPtr pWin,
|
||||
int x, int y, int w, int h, Bool generateExposures)
|
||||
|
||||
@@ -18,6 +18,4 @@ extern _X_EXPORT Bool
|
||||
miOverlayGetPrivateClips(WindowPtr pWin,
|
||||
RegionPtr *borderClip, RegionPtr *clipList);
|
||||
|
||||
extern _X_EXPORT void miOverlaySetRootClip(ScreenPtr, Bool);
|
||||
|
||||
#endif /* __MIOVERLAY_H */
|
||||
|
||||
Reference in New Issue
Block a user