mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
composite: 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
e1d5d60848
commit
181e63f46e
@@ -248,7 +248,7 @@ compRestoreWindow(WindowPtr pWin, PixmapPtr pPixmap)
|
|||||||
ChangeGCVal val;
|
ChangeGCVal val;
|
||||||
|
|
||||||
val.val = IncludeInferiors;
|
val.val = IncludeInferiors;
|
||||||
ChangeGC(NullClient, pGC, GCSubwindowMode, &val);
|
ChangeGC(NULL, pGC, GCSubwindowMode, &val);
|
||||||
ValidateGC(&pWin->drawable, pGC);
|
ValidateGC(&pWin->drawable, pGC);
|
||||||
(void) (*pGC->ops->CopyArea) (&pPixmap->drawable,
|
(void) (*pGC->ops->CopyArea) (&pPixmap->drawable,
|
||||||
&pWin->drawable, pGC, x, y, w, h, 0, 0);
|
&pWin->drawable, pGC, x, y, w, h, 0, 0);
|
||||||
@@ -552,7 +552,7 @@ compNewPixmap(WindowPtr pWin, int x, int y, int w, int h)
|
|||||||
ChangeGCVal val;
|
ChangeGCVal val;
|
||||||
|
|
||||||
val.val = IncludeInferiors;
|
val.val = IncludeInferiors;
|
||||||
ChangeGC(NullClient, pGC, GCSubwindowMode, &val);
|
ChangeGC(NULL, pGC, GCSubwindowMode, &val);
|
||||||
ValidateGC(&pPixmap->drawable, pGC);
|
ValidateGC(&pPixmap->drawable, pGC);
|
||||||
(void) (*pGC->ops->CopyArea) (&pParent->drawable,
|
(void) (*pGC->ops->CopyArea) (&pParent->drawable,
|
||||||
&pPixmap->drawable,
|
&pPixmap->drawable,
|
||||||
|
|||||||
Reference in New Issue
Block a user