summaryrefslogtreecommitdiff
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2016-09-01 20:20:23 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2016-09-01 20:20:23 +0200
commit78dde8b3970eb281a0f1a1ceeffaf3e9b50bde30 (patch)
tree924152ab4d51fe6ce9dbc5691db98a4c615f706b
parentb1d367076a99d36516d024672ac7bb7d282f2152 (diff)
LockScreenController: call Start unity-screen-locked.target on lock
(bzr r4153.9.47)
-rw-r--r--lockscreen/LockScreenController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lockscreen/LockScreenController.cpp b/lockscreen/LockScreenController.cpp
index 807bfa53c..b74fb4f30 100644
--- a/lockscreen/LockScreenController.cpp
+++ b/lockscreen/LockScreenController.cpp
@@ -467,7 +467,7 @@ void Controller::LockScreen()
{
indicators_ = std::make_shared<indicator::LockScreenDBusIndicators>();
upstart_wrapper_->Emit("desktop-lock");
- systemd_wrapper_->Stop("unity-screen-locked.target");
+ systemd_wrapper_->Start("unity-screen-locked.target");
accelerator_controller_ = std::make_shared<AcceleratorController>(key_grabber_);
auto activate_key = WindowManager::Default().activate_indicators_key();