mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-02 03:28:28 -04:00
lock: fix dpms fade surface getting stuck after unlock
port 1.5
This commit is contained in:
@@ -139,6 +139,14 @@ Item {
|
||||
return;
|
||||
fadeDpmsWindowLoader.loadedWindow.cancelFade();
|
||||
}
|
||||
|
||||
function onMonitorsOffChanged() {
|
||||
if (IdleService.monitorsOff)
|
||||
return;
|
||||
if (!fadeDpmsWindowLoader.loadedWindow)
|
||||
return;
|
||||
fadeDpmsWindowLoader.loadedWindow.dismiss();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user