summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2010-10-18 15:53:43 -0400
committerAdam Jackson <ajax@redhat.com>2010-10-18 17:38:23 -0400
commitd6d90a4fccef086e7c7934adea901b2cd9a595bf (patch)
tree99fa54581390fb9319a3984e50b45fd75cfe304f
parentdb8840600e8e21356241eb87395031388d9b54d2 (diff)
composite: Move the backfill comment to a more appropriate indent level
Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--composite/compalloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/composite/compalloc.c b/composite/compalloc.c
index f0d868ed1..47d5c0a3c 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;