summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-09 22:54:01 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-09 22:56:17 +0300
commit481ea0b776bbab92b500540f59c5a191c6e93cba (patch)
tree5b73e15b5ab16d67095852d83ba764d83c36cbb8 /src/defaults.cpp
parentc108b00ddc98e99182bf1a0f83602772f4931122 (diff)
downloadmanaverse-481ea0b776bbab92b500540f59c5a191c6e93cba.tar.gz
manaverse-481ea0b776bbab92b500540f59c5a191c6e93cba.tar.bz2
manaverse-481ea0b776bbab92b500540f59c5a191c6e93cba.tar.xz
manaverse-481ea0b776bbab92b500540f59c5a191c6e93cba.zip
Add workaround for fix alt-tab issue in SDL2.
Also add option to enable/disable this workaround.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index e3b1f91c6..5df7ab80e 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -414,6 +414,7 @@ void setConfigDefaults(Configuration &cfg)
AddDEF("openglContext", false);
AddDEF("allowMoveByMouse", true);
AddDEF("enableDSA", true);
+ AddDEF("blockAltTab", true);
}
void setConfigDefaults2(Configuration &cfg)