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:
Martin Gräßlin 2010-09-16 18:04:48 +00:00
parent 85adc68a06
commit e7eeae1e1d

View file

@ -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 )