From 66a7f718d24ab685a9a7bec6b37435fb704fdfb7 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 1 Aug 2024 12:39:49 +0200 Subject: [PATCH] (!1654) 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 d036bbc8d..555c1f510 100644 --- a/hw/xnest/GCOps.c +++ b/hw/xnest/GCOps.c @@ -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); }