diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-05-06 21:39:43 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-05-12 18:09:55 -0700 |
commit | 65cedf39054cf3a1e695e84ac228cce9e8d48097 (patch) | |
tree | 9a0b41cf70562a6e9e06263486f2fcf1552da46a /mi/mizerarc.c | |
parent | afcbbd6dfea51c5b0adca0d720edc02ba0c2dc16 (diff) |
Kill DoChangeGC in favor of dixChangeGC.
This doesn't change any behavior, but it isn't clear whether NullClient
is correct in all cases. As ajax says,
> For most of these changes, I think it's correct to use NullClient,
> since they are server-initiated changes and should not fail for (eg)
> xace reasons. ... At any rate, you're certainly not changing any
> semantics by leaving them all as NullClient, so this patch can't be
> more wrong than before.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'mi/mizerarc.c')
-rw-r--r-- | mi/mizerarc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mi/mizerarc.c b/mi/mizerarc.c index 1175bc1dd..feaa3cb77 100644 --- a/mi/mizerarc.c +++ b/mi/mizerarc.c @@ -803,7 +803,7 @@ miZeroPolyArc(DrawablePtr pDraw, GCPtr pGC, int narcs, xArc *parcs) if ((pGC->fillStyle == FillSolid) || (pGC->fillStyle == FillStippled)) { - DoChangeGC(pGC, GCForeground, (XID *)&pGC->bgPixel, 0); + dixChangeGC(NullClient, pGC, GCForeground, (XID *)&pGC->bgPixel, NULL); ValidateGC(pDraw, pGC); } pts = &points[numPts >> 1]; @@ -831,7 +831,7 @@ miZeroPolyArc(DrawablePtr pDraw, GCPtr pGC, int narcs, xArc *parcs) if ((pGC->fillStyle == FillSolid) || (pGC->fillStyle == FillStippled)) { - DoChangeGC(pGC, GCForeground, &fgPixel, 0); + dixChangeGC(NullClient, pGC, GCForeground, &fgPixel, NULL); ValidateGC(pDraw, pGC); } } |