mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
committed by
Enrico Weigelt
parent
1d1ae20e75
commit
e3547224a8
@@ -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)
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user