fix(macos): release overlay when mpv loses focus

This commit is contained in:
2026-05-16 17:41:58 -07:00
parent b6272b229e
commit a36e628512
6 changed files with 462 additions and 30 deletions
+2
View File
@@ -6,3 +6,5 @@ area: overlay
- Opened the stats overlay inactive on macOS so it appears over fullscreen mpv instead of switching back to SubMiner's original desktop.
- Preserved the active mpv focus state through transient macOS helper misses so subtitles do not flicker while mpv remains foreground.
- Kept fullscreen macOS overlays stable when mpv remains frontmost but window geometry temporarily disappears from the macOS window APIs.
- Released the macOS overlay when the helper reports mpv is no longer foreground so other apps are no longer covered.
- Reduced macOS window-tracker background work by preferring the compiled helper and slowing polls while mpv is stably focused.