Re: Turning off the screen shield in gnome-shell 3.8



On Fri, Apr 26, 2013 at 12:02 AM, Reuben Thomas <rrt sc3d org> wrote:
I've already turned off the lock. But, having turned off the lock, I still
have the shield.

Ah, so this is about the "screensaver" part of the shield (some
designer will kill me for using the s-word) ...

Try:

diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index d7e020b..0022981 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -823,7 +823,7 @@ const ScreenShield = new Lang.Class({
         this._lightbox.hide();

         // Shortcircuit in case the mouse was moved before the fade completed
-        if (!lightboxWasShown) {
+        if (!lightboxWasShown || !this._isLocked) {
             this.deactivate(false);
             return;
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]