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
This commit is contained in:
parent
a406eef9a0
commit
0ab41802f4
1 changed files with 6 additions and 0 deletions
|
@ -128,6 +128,12 @@ bool Application::shouldUseWaylandForCompositing() const
|
||||||
|
|
||||||
void Application::start()
|
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);
|
setQuitOnLastWindowClosed(false);
|
||||||
|
|
||||||
if (!m_config) {
|
if (!m_config) {
|
||||||
|
|
Loading…
Reference in a new issue