We can blur the background behind panels in present windows. They won't move and without blurring it creates artefacts.
BUG: 242561 FIXED-IN: 4.5.1 svn path=/trunk/KDE/kdebase/workspace/; revision=1141849
This commit is contained in:
parent
450dbc0d45
commit
3c7343fef0
1 changed files with 15 additions and 0 deletions
|
@ -217,6 +217,13 @@ void PresentWindowsEffect::postPaintScreen()
|
||||||
}
|
}
|
||||||
m_windowData.clear();
|
m_windowData.clear();
|
||||||
|
|
||||||
|
foreach( EffectWindow *w, effects->stackingOrder() )
|
||||||
|
{
|
||||||
|
if( w->isDock() )
|
||||||
|
{
|
||||||
|
w->setData( WindowForceBlurRole, QVariant( false ) );
|
||||||
|
}
|
||||||
|
}
|
||||||
effects->setActiveFullScreenEffect( NULL );
|
effects->setActiveFullScreenEffect( NULL );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1607,6 +1614,14 @@ void PresentWindowsEffect::setActive( bool active, bool closingTab )
|
||||||
setHighlightedWindow( effects->currentTabBoxWindow() );
|
setHighlightedWindow( effects->currentTabBoxWindow() );
|
||||||
else
|
else
|
||||||
setHighlightedWindow( effects->activeWindow() );
|
setHighlightedWindow( effects->activeWindow() );
|
||||||
|
|
||||||
|
foreach( EffectWindow *w, effects->stackingOrder() )
|
||||||
|
{
|
||||||
|
if( w->isDock() )
|
||||||
|
{
|
||||||
|
w->setData( WindowForceBlurRole, QVariant( true ) );
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue