summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@redhat.com>2009-01-28 17:33:25 -0500
committerSøren Sandmann Pedersen <sandmann@redhat.com>2009-01-28 17:33:25 -0500
commitb55db937fee5ddf34518a54f352c0ee9b8cc2c2c (patch)
treee5d9ab3bbf3fbee9aa9766097065d822c0d3a4e6
parent82fc102568b3d6b0daeb6c5f5b3a1310a7f14fcd (diff)
[shadow] Store the closure in the buffer
-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;