Try to disable the throttling code, it decreases smoothness of animations.

svn path=/trunk/KDE/kdebase/workspace/; revision=724532
This commit is contained in:
Luboš Luňák 2007-10-12 15:30:12 +00:00
parent 1f42aba1de
commit 0493a2f4b9

View file

@ -268,8 +268,9 @@ void Workspace::performCompositing()
// repaints can seriously impact performance of everything else, therefore throttle
// them - leave at least 5msec time after one repaint is finished and next one
// is started.
if( lastCompositePaint.elapsed() < 5 )
return;
// Disabled now, it decreases smoothness of animations.
// if( lastCompositePaint.elapsed() < 5 )
// return;
checkCursorPos();
if( repaints_region.isEmpty() && !windowRepaintsPending()) // no damage
{