summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
diff options
context:
space:
mode:
authorend-4 <97237370+end-4@users.noreply.github.com>2023-07-23 20:50:09 +0700
committerGitHub <noreply@github.com>2023-07-23 15:50:09 +0200
commit9845f99b607b8b0d547b1fda81e0597d75addfba (patch)
treed5f0ef4fa7b33010c675fe1577c821e51902a122 /src/config/ConfigManager.cpp
parentd3bba2489d1cf8d7012abdca6a55177eb971076c (diff)
add config option to enable/disable new intuitive resizing (#2774)
dwindle:smart_resizing = 1 by default == 1 then use new resizing else use old resizing
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 14cbf28b..b99a3ae9 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -160,6 +160,7 @@ void CConfigManager::setDefaultVars() {
configValues["dwindle:use_active_for_splits"].intValue = 1;
configValues["dwindle:default_split_ratio"].floatValue = 1.f;
configValues["dwindle:smart_split"].intValue = 0;
+ configValues["dwindle:smart_resizing"].intValue = 1;
configValues["master:special_scale_factor"].floatValue = 0.8f;
configValues["master:mfact"].floatValue = 0.55f;