From b55db937fee5ddf34518a54f352c0ee9b8cc2c2c Mon Sep 17 00:00:00 2001 From: Søren Sandmann Pedersen Date: Wed, 28 Jan 2009 17:33:25 -0500 Subject: [shadow] Store the closure in the buffer --- miext/shadow/shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miext') 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; -- cgit v1.2.3