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

21e770
From cacce594f07295bb1b9e0685913a287e3cea2453 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
21e770
index a005a206b..cd38f11fc 100644
c7fac9
--- a/js/ui/screenShield.js
c7fac9
+++ b/js/ui/screenShield.js
21e770
@@ -513,8 +513,10 @@ var ScreenShield = 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
-- 
21e770
2.21.0
c7fac9