ksmserver: reap processes started by klauncher before the window manager

so that it is still running for applications that require window manager
on quit, requires the following commit from kdelibs:
4c5361d34d5f125ca7fca1f2dad505480b8a7692

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-06-29 00:16:50 +03:00
parent 4f8f6de543
commit d8830fd749
2 changed files with 4 additions and 3 deletions

View file

@ -688,6 +688,10 @@ void KSMServer::cleanUp()
if (clean) return;
clean = true;
if (klauncherSignals) {
klauncherSignals->call("cleanup");
}
if (wmProcess && wmProcess->state() != QProcess::NotRunning) {
wmProcess->kill();
wmProcess->waitForFinished();

View file

@ -163,9 +163,6 @@ fi
echo 'startkde: Shutting down...' 1>&2
# Clean up
kquitapp klauncher
unset KDE_FULL_SESSION
xprop -root -remove KDE_FULL_SESSION
unset KDE_SESSION_VERSION