aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/miext/shadow/shadow.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/miext/shadow/shadow.c')
-rw-r--r--xorg-server/miext/shadow/shadow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/miext/shadow/shadow.c b/xorg-server/miext/shadow/shadow.c
index d2ba68497..2d869e54b 100644
--- a/xorg-server/miext/shadow/shadow.c
+++ b/xorg-server/miext/shadow/shadow.c
@@ -96,7 +96,7 @@ shadowGetImage(DrawablePtr pDrawable, int sx, int sy, int w, int h,
#define BACKWARDS_COMPATIBILITY
static Bool
-shadowCloseScreen(int i, ScreenPtr pScreen)
+shadowCloseScreen(ScreenPtr pScreen)
{
shadowBuf(pScreen);
@@ -110,7 +110,7 @@ shadowCloseScreen(int i, ScreenPtr pScreen)
if (pBuf->pPixmap)
pScreen->DestroyPixmap(pBuf->pPixmap);
free(pBuf);
- return pScreen->CloseScreen(i, pScreen);
+ return pScreen->CloseScreen(pScreen);
}
#ifdef BACKWARDS_COMPATIBILITY