Disable Lanczos filter while moving windows in present windows.
Thanks to the movement the change of quality is hardly visible. svn path=/trunk/KDE/kdebase/workspace/; revision=1176110
This commit is contained in:
parent
85adc68a06
commit
e7eeae1e1d
1 changed files with 5 additions and 1 deletions
|
@ -326,7 +326,11 @@ void PresentWindowsEffect::paintWindow( EffectWindow *w, int mask, QRegion regio
|
|||
{
|
||||
m_motionManager.apply( w, data );
|
||||
|
||||
effects->paintWindow( w, mask | PAINT_WINDOW_LANCZOS, region, data );
|
||||
if( !m_motionManager.areWindowsMoving() )
|
||||
{
|
||||
mask |= PAINT_WINDOW_LANCZOS;
|
||||
}
|
||||
effects->paintWindow( w, mask, region, data );
|
||||
|
||||
QRect rect = m_motionManager.transformedGeometry( w ).toRect();
|
||||
if( m_showIcons )
|
||||
|
|
Loading…
Reference in a new issue