kdrive: use NULL instead of NullClient

No need to have another name for NULL, we can use NULL directly.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-07-16 12:02:55 +02:00
committed by Enrico Weigelt
parent 07eb361846
commit 1975ae8a5f

View File

@@ -106,9 +106,8 @@ ephyrPrepareSolid(PixmapPtr pPix, int alu, Pixel pm, Pixel fg)
tmpval[0].val = alu;
tmpval[1].val = pm;
tmpval[2].val = fg;
ChangeGC(NullClient, fakexa->pGC, GCFunction | GCPlaneMask | GCForeground,
tmpval);
ChangeGC(NULL, fakexa->pGC, GCFunction | GCPlaneMask | GCForeground, tmpval);
ValidateGC(&pPix->drawable, fakexa->pGC);
TRACE_DRAW();
@@ -175,8 +174,8 @@ ephyrPrepareCopy(PixmapPtr pSrc, PixmapPtr pDst, int dx, int dy, int alu,
tmpval[0].val = alu;
tmpval[1].val = pm;
ChangeGC(NullClient, fakexa->pGC, GCFunction | GCPlaneMask, tmpval);
ChangeGC(NULL, fakexa->pGC, GCFunction | GCPlaneMask, tmpval);
ValidateGC(&pDst->drawable, fakexa->pGC);
TRACE_DRAW();