From 08ec122fa7565bb037ded1f014e35cca3d36103e Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 30 Sep 2024 17:54:52 +0200 Subject: [PATCH] fb: 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 Part-of: --- fb/fboverlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fb/fboverlay.c b/fb/fboverlay.c index 7ea8e660b..d8d9c2d75 100644 --- a/fb/fboverlay.c +++ b/fb/fboverlay.c @@ -83,7 +83,7 @@ fbOverlayCloseScreen(ScreenPtr pScreen) int i; for (i = 0; i < pScrPriv->nlayers; i++) { - (*pScreen->DestroyPixmap) (pScrPriv->layer[i].u.run.pixmap); + dixDestroyPixmap(pScrPriv->layer[i].u.run.pixmap, 0); RegionUninit(&pScrPriv->layer[i].u.run.region); } return TRUE;