summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/cube.c
diff options
context:
space:
mode:
authorracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-27 20:25:57 +0000
committerracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-27 20:25:57 +0000
commitd8257e064dab5381f9e0228f1925ba37f65883b7 (patch)
treea0427e30ef385497339573658fd556084731578b /beryl-plugins/src/cube.c
parent7f0f0928e7db2cdebca7b2b3a6e05180d1ff67c8 (diff)
downloadmarex-dev-d8257e064dab5381f9e0228f1925ba37f65883b7.tar.gz
marex-dev-d8257e064dab5381f9e0228f1925ba37f65883b7.tar.bz2
Paint as transparent if berylDesktopManaged
git-svn-id: file:///beryl/trunk@3260 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/cube.c')
-rw-r--r--beryl-plugins/src/cube.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/beryl-plugins/src/cube.c b/beryl-plugins/src/cube.c
index 2fde974..53d1e1c 100644
--- a/beryl-plugins/src/cube.c
+++ b/beryl-plugins/src/cube.c
@@ -1602,7 +1602,7 @@ cubePaintScreen(CompScreen * s,
if (cs->grabIndex
|| (cs->opt[CUBE_SCREEN_OPTION_TRANSPARENT].value.b
- && cs->desktopOpacity != OPAQUE))
+ && (cs->desktopOpacity != OPAQUE || s->berylDesktopManaged)))
mask &= ~PAINT_SCREEN_REGION_MASK;
cs->finalPaint=TRUE;
@@ -1614,7 +1614,7 @@ cubePaintScreen(CompScreen * s,
if ((!mask & PAINT_SCREEN_TRANSFORMED_MASK) &&
(cs->opt[CUBE_SCREEN_OPTION_TRANSPARENT].value.b &&
- cs->desktopOpacity != OPAQUE))
+ (cs->desktopOpacity != OPAQUE || s->berylDesktopManaged)))
{
cs->finalPaint=!(cs->opt[CUBE_SCREEN_OPTION_STUCK_TO_SCREEN].value.b);
if (cs->sky.name)