From 64e7d5345dddd755e361a6fce5a7f58b06a8b546 Mon Sep 17 00:00:00 2001 From: Daniel Adolfsson Date: Tue, 11 Jul 2023 13:37:25 +0200 Subject: 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 --- src/config/ConfigManager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/config/ConfigManager.cpp') 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; -- cgit v1.2.3