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

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