summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/switcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'beryl-plugins/src/switcher.c')
-rw-r--r--beryl-plugins/src/switcher.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/beryl-plugins/src/switcher.c b/beryl-plugins/src/switcher.c
index 71a7420..b855986 100644
--- a/beryl-plugins/src/switcher.c
+++ b/beryl-plugins/src/switcher.c
@@ -2314,6 +2314,7 @@ switchPaintWindow(CompWindow * w,
{
CompTransform wTransform = *transform;
+ WindowPaintAttrib sAttrib = *attrib;
if (ss->bringToFront)
{
if ((ss->selectedWindow == ss->zoomedWindow) &&
@@ -2326,8 +2327,11 @@ switchPaintWindow(CompWindow * w,
}
}
+ if ( ((ss->wMask & w->type) && ss->opacity != OPAQUE)&&(ss->opt[SWITCH_SCREEN_OPTION_RING_TRANSPARENT_ALL].value.b && (ss->switchMode == RingSwitcher )))
+ sAttrib.opacity = 0;
+
UNWRAP(ss, s, paintWindow);
- status = (*s->paintWindow) (w, attrib, &wTransform, region, mask);
+ status = (*s->paintWindow) (w, &sAttrib, &wTransform, region, mask);
WRAP(ss, s, paintWindow, switchPaintWindow);