diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-12 14:06:37 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-12 14:06:37 -0600 |
commit | bbae7554f1dcb98d94bd73ec9bce07f0e99e21d0 (patch) | |
tree | 608abf6c3e5d78f3deb9357d9a91b4b61b85cc59 /kdesktop/krootwm.cc | |
parent | 261c0e1f6b9a69442520936ef7f91e1eac9f9514 (diff) | |
download | tdebase-bbae7554f1dcb98d94bd73ec9bce07f0e99e21d0.tar.gz tdebase-bbae7554f1dcb98d94bd73ec9bce07f0e99e21d0.zip |
Add keyboard shortcut to start screensaver directly
Diffstat (limited to 'kdesktop/krootwm.cc')
-rw-r--r-- | kdesktop/krootwm.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kdesktop/krootwm.cc b/kdesktop/krootwm.cc index 872c5560b..90b4ebd66 100644 --- a/kdesktop/krootwm.cc +++ b/kdesktop/krootwm.cc @@ -824,6 +824,11 @@ void KRootWm::slotLock() { } +void KRootWm::slotSave() { + kapp->dcopClient()->send(kdesktop_name, "KScreensaverIface", "save()", TQString("")); +} + + void KRootWm::slotLogout() { m_pDesktop->logout(KApplication::ShutdownConfirmDefault, KApplication::ShutdownTypeDefault); } |