Xext: 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:03:58 +02:00
committed by Enrico Weigelt
parent 1d1ae20e75
commit e3547224a8
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ DPMSFreeClient(void *data, XID id)
pEvent = (DPMSEventPtr) data;
dixLookupResourceByType((void *) &pHead, eventResource, DPMSEventType,
NullClient, DixUnknownAccess);
NULL, DixUnknownAccess);
if (pHead) {
pPrev = 0;
for (pCur = *pHead; pCur && pCur != pEvent; pCur = pCur->next)

View File

@@ -1045,7 +1045,7 @@ XvFillColorKey(DrawablePtr pDraw, CARD32 key, RegionPtr region)
pval[0].val = key;
pval[1].val = IncludeInferiors;
(void) ChangeGC(NullClient, gc, GCForeground | GCSubwindowMode, pval);
(void) ChangeGC(NULL, gc, GCForeground | GCSubwindowMode, pval);
ValidateGC(pDraw, gc);
rects = calloc(nbox, sizeof(xRectangle));