[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->window = window;
|
||||
pBuf->randr = randr;
|
||||
pBuf->closure = 0;
|
||||
pBuf->closure = closure;
|
||||
pBuf->pPixmap = pPixmap;
|
||||
DamageRegister(&pPixmap->drawable, pBuf->pDamage);
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user