Verified Commit 64c72157 authored by Felipe Kinoshita's avatar Felipe Kinoshita 🌎
Browse files

[effects/presentwindows] Darken panel

parent e9fcd958
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment