From 9925fc58bcca4faf6f6a356ace24acdf19556560 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 12 Sep 2011 00:34:54 +0000 Subject: Fix system modal dialogs Fix shutdown background Add code to make the desktop locking system use the system window decorations and generally use the same theme and style as the active desktop This code is disabled for now, but can be enabled via the two new static variables in kdesktop/lock/main.cc git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1252900 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksmserver/shutdowndlg.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ksmserver') diff --git a/ksmserver/shutdowndlg.cpp b/ksmserver/shutdowndlg.cpp index 1fc5af648..2a9d36717 100644 --- a/ksmserver/shutdowndlg.cpp +++ b/ksmserver/shutdowndlg.cpp @@ -520,6 +520,10 @@ KSMShutdownIPFeedback::KSMShutdownIPFeedback() { // Try to get the root pixmap + TQString filename = getenv("USER"); + filename.prepend("/tmp/kde-"); + filename.append("/krootbacking.png"); + remove(filename.ascii()); system("krootbacking &"); resize(0, 0); -- cgit v1.2.1