Atoll: clear lock screen widgets faster on unlock

- Add session-active and CGSession poll fallbacks for unlock detection
- Force weather panel alpha to 0 before orderOut for instant hide

Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
This commit is contained in:
Jis G Jacob 2026-05-18 09:51:50 +05:30
commit 3829627dbd
2 changed files with 61 additions and 4 deletions

View file

@ -49,8 +49,10 @@ final class LockScreenWeatherPanelManager {
func hide() {
guard let window else { return }
window.alphaValue = 0
window.orderOut(nil)
window.contentView = nil
window.alphaValue = 1
latestFrame = nil
lastSnapshot = nil
lastContentSize = nil