1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-05 13:08:29 -04:00

lock: guard dpms window

This commit is contained in:
bbedward
2026-07-24 14:13:43 -04:00
parent 8321d28d18
commit 9b5538323d
3 changed files with 10 additions and 1 deletions
@@ -27,11 +27,14 @@ Item {
function hide() {
if (isKeyboardActive && keyboard !== null) {
keyboard.destroy();
keyboard = null;
isKeyboardActive = false;
} else
log.debug("The keyboard is already hidden");
}
Component.onDestruction: hide()
// private
property Item keyboard: null
Component {