summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
diff options
context:
space:
mode:
authorDaniel Adolfsson <daniel@ashen.se>2023-07-11 13:37:25 +0200
committerGitHub <noreply@github.com>2023-07-11 13:37:25 +0200
commit64e7d5345dddd755e361a6fce5a7f58b06a8b546 (patch)
tree4bdc0effcc9c6de0322ffbf39c587e3ed5854dab /src/config/ConfigManager.cpp
parent29d017f54bc4b41ec402e6ac91d4857b8305483a (diff)
Add support for smart splitting (#2676)
* Add support for smart splitting * clang-format * smart_split default to 0, and make smart_split behave like preserve_split
Diffstat (limited to 'src/config/ConfigManager.cpp')
-rw-r--r--src/config/ConfigManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 56c55f3b..27ecf58a 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -157,6 +157,7 @@ void CConfigManager::setDefaultVars() {
configValues["dwindle:no_gaps_when_only"].intValue = 0;
configValues["dwindle:use_active_for_splits"].intValue = 1;
configValues["dwindle:default_split_ratio"].floatValue = 1.f;
+ configValues["dwindle:smart_split"].intValue = 0;
configValues["master:special_scale_factor"].floatValue = 0.8f;
configValues["master:mfact"].floatValue = 0.55f;