diff --git a/workspace.cpp b/workspace.cpp index c38c6029c2..ebd660d4f9 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -803,24 +803,6 @@ void Workspace::reconfigure() reconfigureTimer.start(200); } -/** - * This D-Bus call is used by the compositing kcm. Since the reconfigure() - * D-Bus call delays the actual reconfiguring, it is not possible to immediately - * call compositingActive(). Therefore the kcm will instead call this to ensure - * the reconfiguring has already happened. - */ -bool Workspace::waitForCompositingSetup() -{ - if (reconfigureTimer.isActive()) { - reconfigureTimer.stop(); - slotReconfigure(); - } - if (m_compositor) { - return m_compositor->isActive(); - } - return false; -} - /** * Reread settings */ diff --git a/workspace.h b/workspace.h index 7b55c75939..0e702453be 100644 --- a/workspace.h +++ b/workspace.h @@ -301,7 +301,6 @@ public: SessionInfo* takeSessionInfo(Client*); // D-Bus interface - bool waitForCompositingSetup(); QString supportInformation() const; void setCurrentScreen(int new_screen);