ScreenShield: lower the shield when the user is idle but before locking
In time span between idle and lock the shield should behave like autologin, but should prevent accidental reactivation (for example when using a touch screen) by showing the curtain. https://bugzilla.gnome.org/show_bug.cgi?id=692560
This commit is contained in:
@ -269,13 +269,13 @@ const ScreenSaverDBus = new Lang.Class({
|
||||
|
||||
SetActive: function(active) {
|
||||
if (active)
|
||||
this._screenShield.lock(true);
|
||||
this._screenShield.activate(true);
|
||||
else
|
||||
this._screenShield.unlock();
|
||||
this._screenShield.unlock(false);
|
||||
},
|
||||
|
||||
GetActive: function() {
|
||||
return this._screenShield.locked;
|
||||
return this._screenShield.active;
|
||||
},
|
||||
|
||||
GetActiveTime: function() {
|
||||
|
Reference in New Issue
Block a user