Skip to content

Keep the blackout rescue down when Crisp starts while the screens sleep - #325

Merged
didriksg merged 1 commit into
mainfrom
fix/rescue-at-launch-while-asleep
Nov 29, 2026
Merged

didriksg merged 1 commit into
mainfrom
fix/rescue-at-launch-while-asleep

Conversation

@didriksg

Copy link
Copy Markdown
Owner

If Crisp started while the displays were asleep, for example after an update or a relaunch at night, it saw no active display and ran the blackout rescue. That reconnected a display you had disconnected through Crisp. Crisp now checks at start whether every display is asleep. If they are, the rescue waits for the wake, as it already does when Crisp sees the screens go to sleep.

A Crisp started during a display sleep gets no sleep notification, saw no active display and reconnected a display the user had disconnected through Crisp. It now reads every online display with CGDisplayIsAsleep at start and stands down until the wake, as it does after screensDidSleep.
@didriksg
didriksg merged commit a7e879d into main Nov 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant