Commit 0ab41802 authored by Kevin Ottens's avatar Kevin Ottens Committed by Aleix Pol Gonzalez
Browse files

Avoid KWin starting kactivitymanagerd synchronously

Prevent KWin from synchronously autostarting kactivitymanagerd. Indeed,
kactivitymanagerd being a QApplication it will depend on KWin
startup... this is unsatisfactory dependency wise, and it turns out
that it leads to a deadlock in the Wayland case
parent a406eef9
......@@ -128,6 +128,12 @@ bool Application::shouldUseWaylandForCompositing() const
void Application::start()
{
// Prevent KWin from synchronously autostarting kactivitymanagerd
// Indeed, kactivitymanagerd being a QApplication it will depend
// on KWin startup... this is unsatisfactory dependency wise,
// and it turns out that it leads to a deadlock in the Wayland case
setProperty("org.kde.KActivities.core.disableAutostart", true);
setQuitOnLastWindowClosed(false);
if (!m_config) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment