[shadow] Store the closure in the buffer

This commit is contained in:
Søren Sandmann Pedersen 2009-01-28 17:33:25 -05:00
parent 82fc102568
commit b55db937fe

View File

@ -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;