[gnome-shell] ScreenShield: wake up the screen when resuming from suspend



commit 5cdefc324d8a4a71fb5dd38b7ba94188b5170743
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Fri Mar 14 23:12:28 2014 +0100

    ScreenShield: wake up the screen when resuming from suspend
    
    At some point ScreenShield had code to do this, I don't know when
    it was lost, but it makes sense and avoids having to move the mouse
    just to see the shield.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=726378

 js/ui/screenShield.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index f529e9a..90642a6 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -729,7 +729,7 @@ const ScreenShield = new Lang.Class({
         } else {
             this._inhibitSuspend();
 
-            this._onUserBecameActive();
+            this._wakeUpScreen();
         }
     },
 


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