[shadow] Store the closure in the buffer
This commit is contained in:
parent
82fc102568
commit
b55db937fe
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user