From 64c721579d3fd4be9e042db2d0ff01fe55bb3bcb Mon Sep 17 00:00:00 2001 From: Felipe Kinoshita Date: Sun, 25 Apr 2021 17:45:49 -0300 Subject: [PATCH] [effects/presentwindows] Darken panel --- src/effects/presentwindows/presentwindows.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/effects/presentwindows/presentwindows.cpp b/src/effects/presentwindows/presentwindows.cpp index 37f2a7a33b..cf26f3b0ef 100644 --- a/src/effects/presentwindows/presentwindows.cpp +++ b/src/effects/presentwindows/presentwindows.cpp @@ -385,6 +385,7 @@ void PresentWindowsEffect::paintWindow(EffectWindow *w, int mask, QRegion region DataHash::const_iterator winData = m_windowData.constFind(w); if (winData == m_windowData.constEnd() || (w->isDock() && m_showPanel)) { // in case the panel should be shown just display it without any changes + data.multiplyBrightness(interpolate(0.40, 1.0, winData->highlight)); effects->paintWindow(w, mask, region, data); return; }