f1nalspace / final_game_tech

Game related libraries written in C/C++ written by T. Spaete
MIT License
176 stars 10 forks source link

[X11] Prevent screensaver for kicking-in #151

Open f1nalspace opened 1 year ago

f1nalspace commented 1 year ago

Add X11 support for preventing the screensaver for kicking-in

Use XResetScreenSaver() to disable the screensaver before polling any event - but only in some fixed intervals (30 secs)

Links to: #99