(!1654) Xnest: replace XCopyPlane() by xcb_copy_plane()

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-08-01 12:39:49 +02:00
parent 897020f338
commit eb3f6505e1

View File

@ -194,9 +194,11 @@ xnestCopyPlane(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
GCPtr pGC, int srcx, int srcy, int width, int height, GCPtr pGC, int srcx, int srcy, int width, int height,
int dstx, int dsty, unsigned long plane) int dstx, int dsty, unsigned long plane)
{ {
XCopyPlane(xnestDisplay, xcb_copy_plane(xnestUpstreamInfo.conn,
xnestDrawable(pSrcDrawable), xnestDrawable(pDstDrawable), xnestDrawable(pSrcDrawable),
xnestGC(pGC), srcx, srcy, width, height, dstx, dsty, plane); xnestDrawable(pDstDrawable),
xnest_upstream_gc(pGC),
srcx, srcy, dstx, dsty, width, height, plane);
return xnestBitBlitHelper(pGC); return xnestBitBlitHelper(pGC);
} }