Skip to content

Commit

Permalink
composite: Move the backfill comment to a more appropriate indent level
Browse files Browse the repository at this point in the history
Reviewed-by: Keith Packard <[email protected]>
Signed-off-by: Adam Jackson <[email protected]>
  • Loading branch information
nwnk committed Oct 18, 2010
1 parent db88406 commit d6d90a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions composite/compalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d6d90a4

Please sign in to comment.