a2af23f
From 6a39049e34eeefeeb821970d83e1994870af8f3e Mon Sep 17 00:00:00 2001
0cc678b
From: Adam Jackson <ajax@redhat.com>
a2af23f
Date: Thu, 1 Nov 2007 14:56:25 -0400
a2af23f
Subject: [PATCH] Don't backfill bg=None windows in Composite.
7089060
0cc678b
---
a2af23f
 composite/compalloc.c |    2 ++
a2af23f
 1 files changed, 2 insertions(+), 0 deletions(-)
a2af23f
a2af23f
diff --git a/composite/compalloc.c b/composite/compalloc.c
a2af23f
index 006e808..67d830d 100644
a2af23f
--- a/composite/compalloc.c
a2af23f
+++ b/composite/compalloc.c
a2af23f
@@ -478,6 +478,7 @@ compNewPixmap (WindowPtr pWin, int x, int y, int w, int h)
a2af23f
 	 * Copy bits from the parent into the new pixmap so that it will
a2af23f
 	 * have "reasonable" contents in case for background None areas.
a2af23f
 	 */
Kristian Høgsberg d470a6c
+#if 0
a2af23f
 	if (pGC)
a2af23f
 	{
a2af23f
 	    XID val = IncludeInferiors;
a2af23f
@@ -492,6 +493,7 @@ compNewPixmap (WindowPtr pWin, int x, int y, int w, int h)
a2af23f
 				   w, h, 0, 0);
a2af23f
 	    FreeScratchGC (pGC);
a2af23f
 	}
Kristian Høgsberg d470a6c
+#endif
a2af23f
     }
a2af23f
     else
a2af23f
     {
a2af23f
-- 
a2af23f
1.5.3.4
a2af23f