diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-05-07 19:38:05 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-05-13 17:14:07 -0700 |
commit | 6a84cd943430cfc9df55c83aef6a7f8dea6dbb94 (patch) | |
tree | b6b75bd36bc05c394e3b1e52edaccde1d52a136d /miext | |
parent | 2d7eb4a19b773d0406c0c2e018a7da97f3565fd5 (diff) |
Replace dixChangeGC with calls directly to the right variant.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'miext')
-rw-r--r-- | miext/cw/cw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/miext/cw/cw.c b/miext/cw/cw.c index c3bcdc8cb..460862f5f 100644 --- a/miext/cw/cw.c +++ b/miext/cw/cw.c @@ -204,8 +204,8 @@ cwValidateGC(GCPtr pGC, unsigned long stateChanges, DrawablePtr pDrawable) vals[0].val = x_off - pDrawable->x; vals[1].val = y_off - pDrawable->y; - dixChangeGC(NullClient, pBackingGC, - (GCClipXOrigin | GCClipYOrigin), NULL, vals); + ChangeGC(NullClient, pBackingGC, + (GCClipXOrigin | GCClipYOrigin), vals); pPriv->serialNumber = pDrawable->serialNumber; /* @@ -226,8 +226,8 @@ cwValidateGC(GCPtr pGC, unsigned long stateChanges, DrawablePtr pDrawable) ChangeGCVal vals[2]; vals[0].val = pGC->patOrg.x + x_off; vals[1].val = pGC->patOrg.y + y_off; - dixChangeGC(NullClient, pBackingGC, - (GCTileStipXOrigin | GCTileStipYOrigin), NULL, vals); + ChangeGC(NullClient, pBackingGC, + (GCTileStipXOrigin | GCTileStipYOrigin), vals); } ValidateGC(pBackingDrawable, pBackingGC); |