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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/miext/shadow/shadow.c b/xorg-server/miext/shadow/shadow.c
index 2d869e54b..1a9088c43 100644
--- a/xorg-server/miext/shadow/shadow.c
+++ b/xorg-server/miext/shadow/shadow.c
@@ -219,7 +219,7 @@ shadowRemove(ScreenPtr pScreen, PixmapPtr pPixmap)
shadowBuf(pScreen);
if (pBuf->pPixmap) {
- DamageUnregister(&pBuf->pPixmap->drawable, pBuf->pDamage);
+ DamageUnregister(pBuf->pDamage);
pBuf->update = 0;
pBuf->window = 0;
pBuf->randr = 0;