diff options
Diffstat (limited to 'composite')
-rw-r--r-- | composite/compalloc.c | 5 |
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, |