1 --- xorg-server-1.6.3/composite/compalloc.c 2009-07-07 13:48:57.000000000 -0400
2 +++ xorg-server-1.6.3-backclear/composite/compalloc.c 2009-09-09 11:55:03.000000000 -0400
8 - if (pParent->drawable.depth == pWin->drawable.depth)
10 - GCPtr pGC = GetScratchGC (pWin->drawable.depth, pScreen);
13 - * Copy bits from the parent into the new pixmap so that it will
14 - * have "reasonable" contents in case for background None areas.
18 - XID val = IncludeInferiors;
20 - ValidateGC(&pPixmap->drawable, pGC);
21 - dixChangeGC (serverClient, pGC, GCSubwindowMode, &val, NULL);
22 - (*pGC->ops->CopyArea) (&pParent->drawable,
25 - x - pParent->drawable.x,
26 - y - pParent->drawable.y,
28 - FreeScratchGC (pGC);
34 - PictFormatPtr pSrcFormat = compWindowFormat (pParent);
35 - PictFormatPtr pDstFormat = compWindowFormat (pWin);
37 + * Initialize new backing pixmap as fully transparent.
39 + PictFormatPtr pDstFormat = compWindowFormat (pWin);
40 XID inferiors = IncludeInferiors;
43 - PicturePtr pSrcPicture = CreatePicture (None,
48 - serverClient, &error);
50 PicturePtr pDstPicture = CreatePicture (None,
54 serverClient, &error);
56 - if (pSrcPicture && pDstPicture)
59 - CompositePicture (PictOpSrc,
61 + CompositePicture (PictOpClear,
65 - x - pParent->drawable.x,
66 - y - pParent->drawable.y,
68 + 0, 0, 0, 0, 0, 0, w, h);
71 - FreePicture (pSrcPicture, 0);
73 FreePicture (pDstPicture, 0);