Blame SOURCES/0001-screenShield-unblank-when-inserting-smartcard.patch

c7fac9
From 7d34369b7a011a3a0377f19d342e1663a04d6027 Mon Sep 17 00:00:00 2001
c7fac9
From: Ray Strode <rstrode@redhat.com>
c7fac9
Date: Fri, 3 Jul 2015 13:54:36 -0400
c7fac9
Subject: [PATCH] screenShield: unblank when inserting smartcard
c7fac9
c7fac9
If a user inserts the smartcard when the screen is locked/blanked
c7fac9
we should ask them their pin right away.
c7fac9
c7fac9
At the moment they have to wiggle the mouse or do some other
c7fac9
action to get the screen to unblank.
c7fac9
---
c7fac9
 js/ui/screenShield.js | 4 +++-
c7fac9
 1 file changed, 3 insertions(+), 1 deletion(-)
c7fac9
c7fac9
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
c7fac9
index 2d8d9b3f6..ebba6c82a 100644
c7fac9
--- a/js/ui/screenShield.js
c7fac9
+++ b/js/ui/screenShield.js
c7fac9
@@ -515,8 +515,10 @@ var ScreenShield = new Lang.Class({
c7fac9
         this._smartcardManager = SmartcardManager.getSmartcardManager();
c7fac9
         this._smartcardManager.connect('smartcard-inserted',
c7fac9
                                        (manager, token) => {
c7fac9
-                                           if (this._isLocked && token.UsedToLogin)
c7fac9
+                                           if (this._isLocked && token.UsedToLogin) {
c7fac9
+                                               this._wakeUpScreen();
c7fac9
                                                this._liftShield(true, 0);
c7fac9
+                                           }
c7fac9
                                        });
c7fac9
 
c7fac9
         this._oVirtCredentialsManager = OVirt.getOVirtCredentialsManager();
c7fac9
-- 
c7fac9
2.20.1
c7fac9