summaryrefslogtreecommitdiff
path: root/src/utils/env.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/env.cpp')
-rw-r--r--src/utils/env.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/utils/env.cpp b/src/utils/env.cpp
index 0ffc9ce6b..e8808e238 100644
--- a/src/utils/env.cpp
+++ b/src/utils/env.cpp
@@ -35,11 +35,6 @@ void updateEnv()
setEnv("SDL_VIDEO_CENTERED", "0");
#endif // defined(WIN32) || defined(__APPLE__)
- if (config.getBoolValue("allowscreensaver"))
- setEnv("SDL_VIDEO_ALLOW_SCREENSAVER", "1");
- else
- setEnv("SDL_VIDEO_ALLOW_SCREENSAVER", "0");
-
#ifndef WIN32
const int vsync = settings.options.test.empty()
? config.getIntValue("vsync") : 1;