mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
screenShield: unblank when inserting smartcard
If a user inserts the smartcard when the screen is locked/blanked we should ask them their pin right away. At the moment they have to wiggle the mouse or do some other action to get the screen to unblank.
This commit is contained in:
parent
11092fa961
commit
4598d7aa5f
1 changed files with 3 additions and 1 deletions
|
|
@ -94,8 +94,10 @@ export class ScreenShield extends Signals.EventEmitter {
|
|||
this._smartcardManager = SmartcardManager.getSmartcardManager();
|
||||
this._smartcardManager.connect('smartcard-inserted',
|
||||
(manager, token) => {
|
||||
if (this._isLocked && token.UsedToLogin)
|
||||
if (this._isLocked && token.UsedToLogin) {
|
||||
this._wakeUpScreen();
|
||||
this._activateDialog();
|
||||
}
|
||||
});
|
||||
|
||||
this._credentialManagers = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue