[effects/presentwindows] Darken panel
This commit is contained in:
parent
e9fcd9584e
commit
64c721579d
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue