(!1711) vfb: use dixDestroyPixmap() instead of direct driver call
Direct calls to ScreenRec->DestroyPixmap() blocks cleaning up the wrapping jungle, so use the proper dix function instead. See: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1754 Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
e0b61b2c72
commit
0dec901bcb
|
@ -729,8 +729,7 @@ vfbCloseScreen(ScreenPtr pScreen)
|
|||
/*
|
||||
* fb overwrites miCloseScreen, so do this here
|
||||
*/
|
||||
if (pScreen->devPrivate)
|
||||
(*pScreen->DestroyPixmap) (pScreen->devPrivate);
|
||||
dixDestroyPixmap(pScreen->devPrivate, 0);
|
||||
pScreen->devPrivate = NULL;
|
||||
|
||||
return pScreen->CloseScreen(pScreen);
|
||||
|
|
Loading…
Reference in New Issue