[shadow] Store the closure in the buffer
This commit is contained in:
@@ -204,7 +204,7 @@ shadowAdd(ScreenPtr pScreen, PixmapPtr pPixmap, ShadowUpdateProc update,
|
|||||||
pBuf->update = update;
|
pBuf->update = update;
|
||||||
pBuf->window = window;
|
pBuf->window = window;
|
||||||
pBuf->randr = randr;
|
pBuf->randr = randr;
|
||||||
pBuf->closure = 0;
|
pBuf->closure = closure;
|
||||||
pBuf->pPixmap = pPixmap;
|
pBuf->pPixmap = pPixmap;
|
||||||
DamageRegister(&pPixmap->drawable, pBuf->pDamage);
|
DamageRegister(&pPixmap->drawable, pBuf->pDamage);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user