From 7400d749c30f882a2e7107bdc9a00d9aec578f03 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 1 Aug 2024 12:39:49 +0200 Subject: [PATCH] Xnest: replace XCopyPlane() by xcb_copy_plane() Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xnest/GCOps.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hw/xnest/GCOps.c b/hw/xnest/GCOps.c index 3cc40834e..cb147b379 100644 --- a/hw/xnest/GCOps.c +++ b/hw/xnest/GCOps.c @@ -194,9 +194,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); }