Don't dim dashboard windows in multiscreen setups

svn path=/trunk/KDE/kdebase/workspace/; revision=1193866
This commit is contained in:
Martin Gräßlin 2010-11-07 12:28:18 +00:00
parent cd031d9568
commit c2b3b0483f

View file

@ -74,7 +74,7 @@ void DashboardEffect::reconfigure( ReconfigureFlags )
void DashboardEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data )
{
if( transformWindow && ( w != window ) && w->isManaged() )
if( transformWindow && ( w != window ) && w->isManaged() && !isDashboard( w ) )
{
brightnessDelta = (1 - (brightness.toDouble() / 100));
saturationDelta = (1 - (saturation.toDouble() / 100));