summaryrefslogtreecommitdiff
path: root/src/utils/env.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-13 01:57:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-13 01:57:39 +0300
commit10f73a88a374a250d192b02d783b5de3fe6e4aa6 (patch)
treebc7168fc5fbeeb68470d4245c7319c5a1098b554 /src/utils/env.cpp
parent1f71a98b9377324bb08ba20fbfe52cbff67c49c9 (diff)
downloadmv-10f73a88a374a250d192b02d783b5de3fe6e4aa6.tar.gz
mv-10f73a88a374a250d192b02d783b5de3fe6e4aa6.tar.bz2
mv-10f73a88a374a250d192b02d783b5de3fe6e4aa6.tar.xz
mv-10f73a88a374a250d192b02d783b5de3fe6e4aa6.zip
Fix option for enable/disable screensaver in SDL 2.
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;