(!1654) Xnest: replace XCopyArea() by xcb_copy_area()

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:36:30 +02:00
parent 0ec0c8f8f2
commit b9f04a1908

View File

@ -183,9 +183,11 @@ xnestCopyArea(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) int dstx, int dsty)
{ {
XCopyArea(xnestDisplay, xcb_copy_area(xnestUpstreamInfo.conn,
xnestDrawable(pSrcDrawable), xnestDrawable(pDstDrawable), xnestDrawable(pSrcDrawable),
xnestGC(pGC), srcx, srcy, width, height, dstx, dsty); xnestDrawable(pDstDrawable),
xnest_upstream_gc(pGC),
srcx, srcy, dstx, dsty, width, height);
return xnestBitBlitHelper(pGC); return xnestBitBlitHelper(pGC);
} }