I'm using LOVE2D to write a very small media playing app with a very simple GUI.
However, since it is not a game, I don't want it to disable the screensaver or the other power management features of my computer. I'm running Mac OS X.
Is there a way to tell my app NOT to block the screensaver and to allow the computer to suspend/sleep as normal?
How to ALLOW screensaver and other power management on OS X
-
- Prole
- Posts: 5
- Joined: Thu Oct 15, 2015 9:26 pm
Re: How to ALLOW screensaver and other power management on OS X
See if love.window.setDisplaySleepEnabled is what you're looking for.
- slime
- Solid Snayke
- Posts: 3170
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: How to ALLOW screensaver and other power management on OS X
Indeed, that function will do what you want.
-
- Prole
- Posts: 5
- Joined: Thu Oct 15, 2015 9:26 pm
Who is online
Users browsing this forum: No registered users and 4 guests