summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-04-12 17:25:06 +0200
committerDanny Baumann <dannybaumann@web.de>2007-04-12 17:25:06 +0200
commit5e96153082d0612f398207baf0a9489289971456 (patch)
treecb1be2eea99991e2e874966c911ec19ec90be800
parent57917c03e1c2e2632989315eb8805d0e0db94f5f (diff)
downloadberyl-premerge-5e96153082d0612f398207baf0a9489289971456.tar.gz
beryl-premerge-5e96153082d0612f398207baf0a9489289971456.tar.bz2
Fix screen blanking during switcher usage (thx onestone :-) ).
-rw-r--r--src/wall.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wall.c b/src/wall.c
index 607f607..5de8fd3 100644
--- a/src/wall.c
+++ b/src/wall.c
@@ -1860,7 +1860,12 @@ static void wallPaintTransformedScreen(CompScreen * s,
ws->expoActive = FALSE;
- (*s->paintTransformedScreen) (s, sAttrib, &sTransform, region, output, mask | PAINT_SCREEN_CLEAR_MASK);
+ if (ws->expoCam > 0)
+ mask |= PAINT_SCREEN_CLEAR_MASK;
+
+ (*s->paintTransformedScreen) (s, sAttrib, &sTransform, region, output, mask);
+
+ mask &= ~PAINT_SCREEN_CLEAR_MASK;
if (ws->expoCam > 0.0)
{