milkytracker / MilkyTracker

An FT2 compatible music tracker
http://milkytracker.github.io/
Other
1.67k stars 160 forks source link

MilkyTracker inhibits screensaver/monitor sleep while running #339

Open eevee opened 6 months ago

eevee commented 6 months ago

This is SDL2's default behavior, presumably because SDL is mainly intended for games, but it doesn't seem intentional for creative software that might reasonably be left running in the background. Certainly confused the hell out of me until I figured out Milky was the culprit :)

coderofsalvation commented 3 months ago

thanks for reporting. So the suggestion is calling SDL_DisableScreenSaver(void) during startup?