From b55db937fee5ddf34518a54f352c0ee9b8cc2c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Wed, 28 Jan 2009 17:33:25 -0500 Subject: [PATCH] [shadow] Store the closure in the buffer --- miext/shadow/shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;