From e2929db7b737413cf93fbebdf4d15abdfebff05c Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Sat, 8 May 2010 14:10:51 -0700 Subject: dixChangeGC callers: Use ChangeGCVal instead of XID almost everywhere. The exceptions are ProcChangeGC and CreateGC. Signed-off-by: Jamey Sharp Reviewed-by: Keith Packard --- xfixes/region.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xfixes') diff --git a/xfixes/region.c b/xfixes/region.c index 5e1636962..8ed7fa15d 100644 --- a/xfixes/region.c +++ b/xfixes/region.c @@ -622,7 +622,7 @@ ProcXFixesSetGCClipRegion (ClientPtr client) { GCPtr pGC; RegionPtr pRegion; - XID vals[2]; + ChangeGCVal vals[2]; int rc; REQUEST(xXFixesSetGCClipRegionReq); REQUEST_SIZE_MATCH(xXFixesSetGCClipRegionReq); @@ -640,9 +640,9 @@ ProcXFixesSetGCClipRegion (ClientPtr client) return BadAlloc; } - vals[0] = stuff->xOrigin; - vals[1] = stuff->yOrigin; - dixChangeGC (NullClient, pGC, GCClipXOrigin|GCClipYOrigin, vals, NULL); + vals[0].val = stuff->xOrigin; + vals[1].val = stuff->yOrigin; + dixChangeGC (NullClient, pGC, GCClipXOrigin|GCClipYOrigin, NULL, vals); (*pGC->funcs->ChangeClip)(pGC, pRegion ? CT_REGION : CT_NONE, (pointer)pRegion, 0); return (client->noClientException); -- cgit v1.2.3