diff --git a/src/main_wayland.cpp b/src/main_wayland.cpp index 147a84457f..ee3f79f0fd 100644 --- a/src/main_wayland.cpp +++ b/src/main_wayland.cpp @@ -174,16 +174,6 @@ void ApplicationWayland::performStartup() void ApplicationWayland::continueStartupWithScene() { disconnect(Compositor::self(), &Compositor::sceneCreated, this, &ApplicationWayland::continueStartupWithScene); - if (!platform()->enabledOutputs().isEmpty()) { - continueStartupWithScreens(); - } else { - connect(platform(), &Platform::screensQueried, this, &ApplicationWayland::continueStartupWithScreens); - } -} - -void ApplicationWayland::continueStartupWithScreens() -{ - disconnect(platform(), &Platform::screensQueried, this, &ApplicationWayland::continueStartupWithScreens); // Note that we start accepting client connections after creating the Workspace. createWorkspace(); diff --git a/src/main_wayland.h b/src/main_wayland.h index bfbcfc1093..c559abedb6 100644 --- a/src/main_wayland.h +++ b/src/main_wayland.h @@ -60,7 +60,6 @@ protected: void performStartup() override; private: - void continueStartupWithScreens(); void continueStartupWithScene(); void finalizeStartup(); void startSession() override;