diff --git a/effects/presentwindows.cpp b/effects/presentwindows.cpp index dfb52df50e..8ac9478a80 100644 --- a/effects/presentwindows.cpp +++ b/effects/presentwindows.cpp @@ -198,7 +198,7 @@ void PresentWindowsEffect::paintWindow( EffectWindow* w, int mask, QRegion regio double centerx = w->x() + data.xTranslate + w->width() * data.xScale * 0.5f; double centery = w->y() + data.yTranslate + w->height() * data.yScale * 0.5f; int maxwidth = (int)(w->width() * data.xScale - 20); - double opacity = (0.7 + 0.2*windata.hover) * data.opacity; + double opacity = (0.7 + 0.2*windata.hover) * data.opacity * mActiveness; QColor textcolor( 255, 255, 255, (int)(255*opacity) ); QColor bgcolor( 0, 0, 0, (int)(255*opacity) ); QFont f;