summaryrefslogtreecommitdiff
path: root/miext/shadow/shrotpack.h
diff options
context:
space:
mode:
Diffstat (limited to 'miext/shadow/shrotpack.h')
-rw-r--r--miext/shadow/shrotpack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/shadow/shrotpack.h b/miext/shadow/shrotpack.h
index 062d8c394..7ed94fc1f 100644
--- a/miext/shadow/shrotpack.h
+++ b/miext/shadow/shrotpack.h
@@ -96,7 +96,7 @@ void
FUNC (ScreenPtr pScreen,
shadowBufPtr pBuf)
{
- RegionPtr damage = &pBuf->damage;
+ RegionPtr damage = shadowDamage (pBuf);
PixmapPtr pShadow = pBuf->pPixmap;
int nbox = REGION_NUM_RECTS (damage);
BoxPtr pbox = REGION_RECTS (damage);