diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-05-08 14:10:51 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-05-13 17:13:48 -0700 |
commit | e2929db7b737413cf93fbebdf4d15abdfebff05c (patch) | |
tree | b32ddbf9c163f8eb814ebdaa4b22301b82af0906 /hw/kdrive/src | |
parent | 95728ca09d45afc84c8d1828c09c6b6725f1a58d (diff) |
dixChangeGC callers: Use ChangeGCVal instead of XID almost everywhere.
The exceptions are ProcChangeGC and CreateGC.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/kdrive/src')
-rw-r--r-- | hw/kdrive/src/kxv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/kdrive/src/kxv.c b/hw/kdrive/src/kxv.c index bf6600a09..aedf06833 100644 --- a/hw/kdrive/src/kxv.c +++ b/hw/kdrive/src/kxv.c @@ -1867,7 +1867,7 @@ void KXVPaintRegion (DrawablePtr pDraw, RegionPtr pRgn, Pixel fg) { GCPtr pGC; - CARD32 val[2]; + ChangeGCVal val[2]; xRectangle *rects, *r; BoxPtr pBox = REGION_RECTS (pRgn); int nBox = REGION_NUM_RECTS (pRgn); @@ -1890,9 +1890,9 @@ KXVPaintRegion (DrawablePtr pDraw, RegionPtr pRgn, Pixel fg) if (!pGC) goto bail1; - val[0] = fg; - val[1] = IncludeInferiors; - dixChangeGC (NullClient, pGC, GCForeground|GCSubwindowMode, val, NULL); + val[0].val = fg; + val[1].val = IncludeInferiors; + dixChangeGC (NullClient, pGC, GCForeground|GCSubwindowMode, NULL, val); ValidateGC (pDraw, pGC); |