Commit 484c0b42 authored by Guido Gunther's avatar Guido Gunther
Browse files

screen-saver-manager: Drop locking leftover


Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 35c7008f
......@@ -238,14 +238,7 @@ handle_set_active (PhoshScreenSaverDBusScreenSaver *skeleton,
g_return_val_if_fail (PHOSH_IS_LOCKSCREEN_MANAGER (self->lockscreen_manager), FALSE);
g_debug ("DBus call SetActive: %d, lock-enabled: %d", active, self->lock_enabled);
if (active) {
screen_saver_set_active (self, TRUE);
} else {
if (!self->lock_enabled)
screen_saver_set_active (self, FALSE);
else
g_debug ("Ignoring request to deactivate screen saver on locked screen");
}
screen_saver_set_active (self, active);
phosh_screen_saver_dbus_screen_saver_complete_set_active (
skeleton, invocation);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment