Diff of /trunk/KDE/kdebase/workspace/kwin/composite.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 847403 by lunakl, Fri Aug 15 11:09:07 2008 UTC Revision 850941 by lunakl, Fri Aug 22 15:57:31 2008 UTC
# Line 314  void Workspace::performCompositing() Line 314  void Workspace::performCompositing()
314          || !overlay_visible ) // nothing is visible anyway          || !overlay_visible ) // nothing is visible anyway
315          {          {
316          scene->idle();          scene->idle();
317            // With vsync, next repaint is scheduled dynamically at the end of this function,
318            // and it can have a very short timeout. If we now idle here, make sure the idling
319            // does not actually caused heavy load by firing the timer often too quickly.
320            if( compositeTimer.interval() != compositeRate )
321                compositeTimer.start( compositeRate );
322          return;          return;
323          }          }
324      // create a list of all windows in the stacking order      // create a list of all windows in the stacking order


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters