Commit d8d1a010 authored by Volker Krause's avatar Volker Krause Committed by David Edmundson
Browse files

Don't attempt to change desktop background color during logout

According to David E "it's from decades ago where we meddled with the root
window colours. That's not happening from any KDE code so doesn't need
tidying up."

See teams/frameworks-devs/kf6-workboard#3 (comment 431628).
parent 2a8670ab
Pipeline #166403 passed with stage
in 5 minutes and 56 seconds
......@@ -41,7 +41,6 @@
#include <QApplication>
#include <QDesktopWidget>
#include <QFile>
#include <QFutureWatcher>
#include <QTimer>
......@@ -188,11 +187,6 @@ void KSMServer::performLogout()
if (saveSession)
sessionGroup = QStringLiteral("Session: ") + QString::fromLocal8Bit(SESSION_PREVIOUS_LOGOUT);
// Set the real desktop background to black so that exit looks
// clean regardless of what was on "our" desktop.
QPalette palette;
palette.setColor(QApplication::desktop()->backgroundRole(), Qt::black);
saveType = saveSession ? SmSaveBoth : SmSaveGlobal;
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