[PATCH 3/3] composite: Move the backfill comment to a more appropriate indent level

Adam Jackson ajax at redhat.com
Mon Oct 4 12:33:42 PDT 2010


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 composite/compalloc.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/composite/compalloc.c b/composite/compalloc.c
index 6bc3a54..144f6bc 100644
--- a/composite/compalloc.c
+++ b/composite/compalloc.c
@@ -514,14 +514,14 @@ compNewPixmap (WindowPtr pWin, int x, int y, int w, int h, Bool map)
     if (TraverseTree(pWin, bgNoneVisitWindow, NULL) == WT_NOMATCH)
 	return pPixmap;
 
+    /*
+     * Copy bits from the parent into the new pixmap so that it will
+     * have "reasonable" contents in case for background None areas.
+     */
     if (pParent->drawable.depth == pWin->drawable.depth)
     {
 	GCPtr	pGC = GetScratchGC (pWin->drawable.depth, pScreen);
 	
-	/*
-	 * Copy bits from the parent into the new pixmap so that it will
-	 * have "reasonable" contents in case for background None areas.
-	 */
 	if (pGC)
 	{
 	    ChangeGCVal val;
-- 
1.7.2.2



More information about the xorg-devel mailing list