Diff of /trunk/KDE/kdebase/workspace/kwin/composite.cpp
Parent Directory
|
Revision Log
|
Patch
| 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 |
|
|