Revert "xnest: use dixDestroyPixmap() instead of direct driver call"

This reverts commit 0a54e24721.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2020>
This commit is contained in:
Alan Coopersmith 2025-06-11 17:44:28 -07:00 committed by Marge Bot
parent 51cfefd59f
commit 9550b2d105

View File

@ -224,7 +224,7 @@ xnestChangeClip(GCPtr pGC, int type, void *pValue, int nRects)
* current pixmap contents. * current pixmap contents.
*/ */
pGC->clientClip = (*pGC->pScreen->BitmapToRegion) ((PixmapPtr) pValue); pGC->clientClip = (*pGC->pScreen->BitmapToRegion) ((PixmapPtr) pValue);
dixDestroyPixmap((PixmapPtr) pValue, 0); (*pGC->pScreen->DestroyPixmap) ((PixmapPtr) pValue);
pValue = pGC->clientClip; pValue = pGC->clientClip;
break; break;