diff options
author | cornelius <cornelius@d7aaf104-2d23-0410-ae22-9d23157bf5a3> | 2007-02-15 08:58:53 +0000 |
---|---|---|
committer | cornelius <cornelius@d7aaf104-2d23-0410-ae22-9d23157bf5a3> | 2007-02-15 08:58:53 +0000 |
commit | 91266f831c18b365106e731f13411aba48bf077e (patch) | |
tree | f20745b0b7c4110a148947960a158d40d72bc6cd | |
parent | de202706b9ed71c0b85e399d90f7b0b63d9b40a7 (diff) | |
download | marex-dev-91266f831c18b365106e731f13411aba48bf077e.tar.gz marex-dev-91266f831c18b365106e731f13411aba48bf077e.tar.bz2 |
wall: Use brightness of windows and opacity of panels.
git-svn-id: file:///beryl/trunk@4073 d7aaf104-2d23-0410-ae22-9d23157bf5a3
-rw-r--r-- | beryl-plugins/src/wall.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/beryl-plugins/src/wall.c b/beryl-plugins/src/wall.c index e5dd7f0..94c70e5 100644 --- a/beryl-plugins/src/wall.c +++ b/beryl-plugins/src/wall.c @@ -153,7 +153,6 @@ static char *expoAnimationName[] = { N_("Vortex") }; - typedef struct _WallDisplay { int screenPrivateIndex; @@ -1572,19 +1571,19 @@ wallDrawWindow(CompWindow * w, w->screen->y == ws->rorigy && ws->origVY < 0 && ws->origVX < 0))) - pA.opacity = OPAQUE * (1 - sigmoidProgress(ws->expoCam)); + pA.opacity = attrib->opacity * (1 - sigmoidProgress(ws->expoCam)); else pA.opacity = 0; } - pA.brightness = BRIGHT * .75; + pA.brightness = attrib->brightness * .75; if (w->screen->x == ws->origVX && w->screen->y == ws->origVY) { - pA.brightness = BRIGHT; + pA.brightness = attrib->brightness; } if (w->screen->x == ws->rorigx && w->screen->y == ws->rorigy && ws->origVY < 0 && ws->origVX < 0) { - pA.brightness = BRIGHT; + pA.brightness = attrib->brightness; } /* * FIXME: Bugged with windows intersecting more than one border |