summaryrefslogtreecommitdiff
path: root/composite
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-05-08 14:10:51 -0700
committerJamey Sharp <jamey@minilop.net>2010-05-13 17:13:48 -0700
commite2929db7b737413cf93fbebdf4d15abdfebff05c (patch)
treeb32ddbf9c163f8eb814ebdaa4b22301b82af0906 /composite
parent95728ca09d45afc84c8d1828c09c6b6725f1a58d (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 'composite')
-rw-r--r--composite/compalloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/composite/compalloc.c b/composite/compalloc.c
index a764972a2..7a8019e61 100644
--- a/composite/compalloc.c
+++ b/composite/compalloc.c
@@ -497,10 +497,11 @@ compNewPixmap (WindowPtr pWin, int x, int y, int w, int h)
*/
if (pGC)
{
- XID val = IncludeInferiors;
+ ChangeGCVal val;
+ val.val = IncludeInferiors;
ValidateGC(&pPixmap->drawable, pGC);
- dixChangeGC (serverClient, pGC, GCSubwindowMode, &val, NULL);
+ dixChangeGC (serverClient, pGC, GCSubwindowMode, NULL, &val);
(*pGC->ops->CopyArea) (&pParent->drawable,
&pPixmap->drawable,
pGC,