From 9550b2d105de589f4baeec3a8d0a8b554dd8328a Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 11 Jun 2025 17:44:28 -0700 Subject: [PATCH] Revert "xnest: use dixDestroyPixmap() instead of direct driver call" This reverts commit 0a54e24721d0f347cf55b22e71e1e7fc3aba6600. Part-of: --- hw/xnest/GC.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xnest/GC.c b/hw/xnest/GC.c index f9f60177f..a50803ea5 100644 --- a/hw/xnest/GC.c +++ b/hw/xnest/GC.c @@ -224,7 +224,7 @@ xnestChangeClip(GCPtr pGC, int type, void *pValue, int nRects) * current pixmap contents. */ pGC->clientClip = (*pGC->pScreen->BitmapToRegion) ((PixmapPtr) pValue); - dixDestroyPixmap((PixmapPtr) pValue, 0); + (*pGC->pScreen->DestroyPixmap) ((PixmapPtr) pValue); pValue = pGC->clientClip; break;