Xnest: replace XSetDashes() by xnest_set_dashes()

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-08-05 14:51:13 +02:00
parent ebbaf44e9f
commit 3dda537e83

View File

@ -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)