From 25528083270fc5d9173e0193d588b9f6a7d43411 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 1 Aug 2024 12:36:30 +0200 Subject: [PATCH] Xnest: replace XCopyArea() by xcb_copy_area() 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 b0dc59e9a..3cc40834e 100644 --- a/hw/xnest/GCOps.c +++ b/hw/xnest/GCOps.c @@ -180,9 +180,11 @@ xnestCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, GCPtr pGC, int srcx, int srcy, int width, int height, int dstx, int dsty) { - XCopyArea(xnestDisplay, - xnestDrawable(pSrcDrawable), xnestDrawable(pDstDrawable), - xnestGC(pGC), srcx, srcy, width, height, dstx, dsty); + xcb_copy_area(xnestUpstreamInfo.conn, + xnestDrawable(pSrcDrawable), + xnestDrawable(pDstDrawable), + xnest_upstream_gc(pGC), + srcx, srcy, dstx, dsty, width, height); return xnestBitBlitHelper(pGC); }