[gnome-shell] ScreenShield: hide the lightboxes when resuming from suspend



commit c7e3289396c79a37c5491cd081b747a0348181b1
Author: Giovanni Campagna <gcampagn redhat com>
Date:   Fri Aug 23 14:14:22 2013 +0200

    ScreenShield: hide the lightboxes when resuming from suspend
    
    We show a lightbox when we suspend, to animate the fading to black
    caused by turning off the monitors, but we need to hide it when
    coming back, otherwise the user is just staring at a black screen
    it until he moves the mouse or presses a key.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706654

 js/ui/screenShield.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index eaeafe0..f9ab4e9 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -732,6 +732,8 @@ const ScreenShield = new Lang.Class({
             this.lock(true);
         } else {
             this._inhibitSuspend();
+
+            this._onUserBecameActive();
         }
     },
 


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