summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ksmserver/server.cpp2
-rw-r--r--ksmserver/shutdown.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/ksmserver/server.cpp b/ksmserver/server.cpp
index 2cfb2e671..dea7c0599 100644
--- a/ksmserver/server.cpp
+++ b/ksmserver/server.cpp
@@ -933,6 +933,8 @@ void KSMServer::storeSession()
TQStringList KSMServer::suspendOptions()
{
+ reconfigure();
+
TQStringList sopt;
#ifdef WITH_TDEHWLIB
diff --git a/ksmserver/shutdown.cpp b/ksmserver/shutdown.cpp
index 0b711e53f..23ba4977b 100644
--- a/ksmserver/shutdown.cpp
+++ b/ksmserver/shutdown.cpp
@@ -330,6 +330,8 @@ bool KSMServer::suspend(int stype)
if (stype == SuspendType::NotSpecified)
return false;
+ reconfigure();
+
#ifdef WITH_TDEHWLIB
TDERootSystemDevice* rootDevice = hwDevices->rootSystemDevice();
if (rootDevice) {