From b4ddae94793644e51c503a2f5733b09c5586a5a8 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Fri, 15 Feb 2019 12:58:46 +0000 Subject: [PATCH] [ksmserver] Restore legacy sessions Summary: KSMServer has two modes, the slightly ancient mode (XSMP), and the really ancient legacy mode (XSM). When startup was rewritten in 96a595f1b8602838f065f312bd5b6ae24f8d6ac1 we accidentally dropped the call that invokes restore of the legacy session as well as the normal mode. BUG: 404318 Reviewers: #plasma, broulik Reviewed By: #plasma, broulik Subscribers: broulik, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D19028 --- ksmserver/startup.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ksmserver/startup.cpp b/ksmserver/startup.cpp index 37013486d..120270e33 100644 --- a/ksmserver/startup.cpp +++ b/ksmserver/startup.cpp @@ -276,6 +276,7 @@ void RestoreSessionJob::start() return; } + m_ksmserver->restoreLegacySession(KSharedConfig::openConfig().data()); m_ksmserver->lastAppStarted = 0; m_ksmserver->lastIdStarted.clear(); m_ksmserver->state = KSMServer::Restoring;