summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/blurfx.c
diff options
context:
space:
mode:
authoronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-10-16 17:25:37 +0000
committeronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-10-16 17:25:37 +0000
commit47e3c122360e08a2193e43ac521a3c5b2aab8b38 (patch)
treec4483240269ab401cca88834d01f745d80a7fa4b /beryl-plugins/src/blurfx.c
parent6de5b4193000488b6b4f9d2cf4282d3e062f207e (diff)
downloadmarex-dev-47e3c122360e08a2193e43ac521a3c5b2aab8b38.tar.gz
marex-dev-47e3c122360e08a2193e43ac521a3c5b2aab8b38.tar.bz2
beryl-plugins: fixed disapearing blur in combination with xinerama
git-svn-id: file:///beryl/trunk@657 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/blurfx.c')
-rw-r--r--beryl-plugins/src/blurfx.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/beryl-plugins/src/blurfx.c b/beryl-plugins/src/blurfx.c
index 3c58b98..bb116f5 100644
--- a/beryl-plugins/src/blurfx.c
+++ b/beryl-plugins/src/blurfx.c
@@ -1375,6 +1375,8 @@ blurfxPaintTransformedScreen (CompScreen * s, const ScreenPaintAttrib * sa,
BLURFX_SCREEN (s);
+ bs->realPaintRegion = &s->region;
+
// calculate occluted regions
if (bs->opt[BLURFX_SCREEN_OPTION_BLUR_DECORATION].value.b
|| bs->opt[BLURFX_SCREEN_OPTION_BLUR_WINDOWS].value.b
@@ -2502,8 +2504,9 @@ updateBlur (CompWindow * w, CompScreen * s, const WindowPaintAttrib * attrib,
XUnionRectWithRegion (&rect, reblurRegion, reblurRegion);
}
- XIntersectRegion (reblurRegion, &s->outputDev[bs->output].region,
- reblurRegion);
+ if (!(mask & PAINT_WINDOW_ON_TRANSFORMED_SCREEN_MASK))
+ XIntersectRegion (reblurRegion, &s->outputDev[bs->output].region,
+ reblurRegion);
XSubtractRegion (reblurRegion, bs->blurredRegion, reblurRegion);