summaryrefslogtreecommitdiff
path: root/miext/shadow/shrotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'miext/shadow/shrotate.c')
-rw-r--r--miext/shadow/shrotate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/shadow/shrotate.c b/miext/shadow/shrotate.c
index 927bc61be..8e46fcecf 100644
--- a/miext/shadow/shrotate.c
+++ b/miext/shadow/shrotate.c
@@ -53,7 +53,7 @@ void
shadowUpdateRotatePacked (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);