mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-15 13:22:19 +01:00
Docking, sleep and lock are where komorebi bugs show up, so the recording carries on through them. On Windows a hidden window hears suspend, resume, the lid, the displays and session lock as Windows delivers them; on a Mac a sleep is found because the host clock pauses while the wall clock does not, and the lock is polled on both hosts. A tracker turns these into reactions: a display that is gone has its video finalized at once, one that returns starts a new segment, and every stream is started afresh after a wake instead of trusting the old one.