mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
Clear lock screen textbox on Escape key press (#1139)
This commit is contained in:
@@ -470,6 +470,10 @@ Item {
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.key === Qt.Key_Escape) {
|
||||
clear();
|
||||
}
|
||||
|
||||
if (pam.passwd.active) {
|
||||
console.log("PAM is active, ignoring input");
|
||||
event.accepted = true;
|
||||
|
||||
Reference in New Issue
Block a user