This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SPDX-License-Identifier: MIT */ | |
/* | |
* On Linux, Steam periodically calls SDL_DisableScreenSaver() so your | |
* screensaver doesn't work with the Steam client open even if you aren't | |
* playing a game, as described in | |
* https://github.com/ValveSoftware/steam-for-linux/issues/5607 . | |
* | |
* To fix this, LD_PRELOAD a library that replaces SDL_DisableScreenSaver() | |
* with a no-op if the executable calling it is Steam, but otherwise let it |