diff options
-rw-r--r-- | ksmserver/shutdown.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ksmserver/shutdown.cpp b/ksmserver/shutdown.cpp index 23ba4977b..3ce4beb06 100644 --- a/ksmserver/shutdown.cpp +++ b/ksmserver/shutdown.cpp @@ -321,8 +321,10 @@ void KSMServer::suspendInternal(int state) kapp->dcopClient()->call("kdesktop", "KScreensaverIface", "lock()", TQCString(""), replyType, replyData); } +#ifdef WITH_TDEHWLIB TDERootSystemDevice* rootDevice = hwDevices->rootSystemDevice(); rootDevice->setPowerState((TDESystemPowerState::TDESystemPowerState)state); +#endif } bool KSMServer::suspend(int stype) |