summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--miext/shadow/shadow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/shadow/shadow.c b/miext/shadow/shadow.c
index 5eea16bdf..608ccd234 100644
--- a/miext/shadow/shadow.c
+++ b/miext/shadow/shadow.c
@@ -204,7 +204,7 @@ shadowAdd(ScreenPtr pScreen, PixmapPtr pPixmap, ShadowUpdateProc update,
pBuf->update = update;
pBuf->window = window;
pBuf->randr = randr;
- pBuf->closure = 0;
+ pBuf->closure = closure;
pBuf->pPixmap = pPixmap;
DamageRegister(&pPixmap->drawable, pBuf->pDamage);
return TRUE;