3 Commits
Author SHA1 Message Date
Drew Weymouth c80f4399eb Add playback controls to dock menu on MacOS 2026-07-20 18:18:24 -07:00
Drew WeymouthandClaude Sonnet 4.6 d43e0c126b Fix macOS quit: intercept applicationShouldTerminate: to allow real exit
GLFW's applicationShouldTerminate: converts all quit paths (Cmd+Q, dock,
menu bar) into window close requests and returns NSTerminateCancel, so our
close-to-hide intercept was hiding the window instead of letting the app exit.

Fix by implementing applicationShouldTerminate: in ReopenDelegate, setting a
darwinQuitting flag before forwarding to GLFW's delegate. The close intercept
checks this flag and calls Window.Close() instead of Hide() when quitting.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 17:57:20 -07:00
Drew Weymouth 9a30559343 handle click dock icon to reopen app for Mac 2026-03-14 19:38:41 -07:00