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

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