From b591ea4fe6e227cf902283425769a05ad48fdf2c Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 5 Aug 2024 14:51:13 +0200 Subject: [PATCH] (!1654) Xnest: replace XSetDashes() by xnest_set_dashes() Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xnest/GC.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hw/xnest/GC.c b/hw/xnest/GC.c index 4e6ce794d..b182226c6 100644 --- a/hw/xnest/GC.c +++ b/hw/xnest/GC.c @@ -169,8 +169,11 @@ xnestChangeGC(GCPtr pGC, unsigned long mask) if (mask & GCDashList) { mask &= ~GCDashList; - XSetDashes(xnestDisplay, xnestGC(pGC), - pGC->dashOffset, (char *) pGC->dash, pGC->numInDashList); + xcb_set_dashes(xnestUpstreamInfo.conn, + xnest_upstream_gc(pGC), + pGC->dashOffset, + pGC->numInDashList, + (uint8_t*) pGC->dash); } if (mask & GCArcMode)