1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-03 20:18:31 -04:00

lock: fix dpms fade surface getting stuck after unlock

port 1.5

(cherry picked from commit 116cef0b3a)
This commit is contained in:
bbedward
2026-07-20 10:39:44 -04:00
committed by dms-ci[bot]
parent 95b120b475
commit 847718459c
3 changed files with 24 additions and 1 deletions
+8
View File
@@ -139,6 +139,14 @@ Item {
return;
fadeDpmsWindowLoader.loadedWindow.cancelFade();
}
function onMonitorsOffChanged() {
if (IdleService.monitorsOff)
return;
if (!fadeDpmsWindowLoader.loadedWindow)
return;
fadeDpmsWindowLoader.loadedWindow.dismiss();
}
}
}
}