summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/dyecmd/client.cpp1
-rw-r--r--src/progs/manaplus/client.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp
index eb40fd9c5..b071eaf73 100644
--- a/src/progs/dyecmd/client.cpp
+++ b/src/progs/dyecmd/client.cpp
@@ -269,6 +269,7 @@ void Client::gameInit()
#endif // defined(USE_OPENGL)
updateEnv();
+ SDL::allowScreenSaver(config.getBoolValue("allowscreensaver"));
initGraphics();
#ifndef WIN32
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp
index 33d099678..41afa2fe5 100644
--- a/src/progs/manaplus/client.cpp
+++ b/src/progs/manaplus/client.cpp
@@ -355,6 +355,7 @@ void Client::gameInit()
Dirs::initScreenshotDir();
updateEnv();
+ SDL::allowScreenSaver(config.getBoolValue("allowscreensaver"));
dumpLibs();
dumpSizes();