mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 03:54:30 +00:00
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:
committed by
Enrico Weigelt
parent
07eb361846
commit
1975ae8a5f
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user