summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2008-10-27 04:27:22 +0100
committerDennis kasprzyk <onestone@compiz-fusion.org>2008-10-27 04:27:22 +0100
commit6e31b33765e7bb9c98ec23485b1e5f6f4e2652f6 (patch)
tree31843efab389573cd44f1bcbb57739e8a930a067 /src
parent087952bad6c4f7c5dab27ada7b9591915950fec2 (diff)
Use only visible windows for "unredirect fullscreen windows" test.
Diffstat (limited to 'src')
-rw-r--r--src/paint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/paint.c b/src/paint.c
index a2051fa2..59be51fe 100644
--- a/src/paint.c
+++ b/src/paint.c
@@ -359,7 +359,8 @@ paintOutputRegion (CompScreen *screen,
}
}
- count++;
+ if (!w->invisible)
+ count++;
}
}