Do not mistakenly report that compositing could not be enabled.

The compositing kcm now results in two reconfigurations of KWin,
and the second one meant that waitForCompositingSetup() didn't work
correctly.


svn path=/trunk/KDE/kdebase/workspace/; revision=960555
remotes/origin/Plasma/5.0
Luboš Luňák 17 years ago
parent 91f0305942
commit e9e08c35cb
  1. 9
      workspace.cpp

@ -1001,10 +1001,11 @@ void Workspace::reconfigure()
*/
bool Workspace::waitForCompositingSetup()
{
if( !reconfigureTimer.isActive() )
return false;
reconfigureTimer.stop();
slotReconfigure();
if( reconfigureTimer.isActive() )
{
reconfigureTimer.stop();
slotReconfigure();
}
return compositingActive();
}

Loading…
Cancel
Save