summaryrefslogtreecommitdiff
path: root/xserver/miext/shadow/shrotpackYX.h
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/miext/shadow/shrotpackYX.h')
-rw-r--r--xserver/miext/shadow/shrotpackYX.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/miext/shadow/shrotpackYX.h b/xserver/miext/shadow/shrotpackYX.h
index f3df6c549..3c5b3a122 100644
--- a/xserver/miext/shadow/shrotpackYX.h
+++ b/xserver/miext/shadow/shrotpackYX.h
@@ -56,7 +56,7 @@
void
FUNC(ScreenPtr pScreen, shadowBufPtr pBuf)
{
- RegionPtr damage = shadowDamage(pBuf);
+ RegionPtr damage = DamageRegion(pBuf->pDamage);
PixmapPtr pShadow = pBuf->pPixmap;
int nbox = RegionNumRects(damage);
BoxPtr pbox = RegionRects(damage);