(!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 9ccba989a8
commit 66a7f718d2

View File

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