Emit signal from Application once Workspace is created

Allows interesting parties to delay initialization till Workspace is
ready.
This commit is contained in:
Martin Gräßlin 2015-02-23 15:53:24 +01:00
parent 58d79e2da4
commit f39c3c8cbb
2 changed files with 2 additions and 0 deletions

View file

@ -372,6 +372,7 @@ void Application::createWorkspace()
// create workspace.
(void) new Workspace(isSessionRestored());
emit workspaceCreated();
}
void Application::createInput()

1
main.h
View file

@ -150,6 +150,7 @@ public:
Q_SIGNALS:
void x11ConnectionChanged();
void workspaceCreated();
protected:
Application(OperationMode mode, int &argc, char **argv);