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
This commit is contained in:
parent
91f0305942
commit
e9e08c35cb
1 changed files with 5 additions and 4 deletions
|
@ -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…
Reference in a new issue