mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-27 02:20:07 +01:00
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:
parent
51cfefd59f
commit
9550b2d105
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue