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
This commit is contained in:
end-4
2023-07-23 20:50:09 +07:00
committed by GitHub
parent d3bba2489d
commit 9845f99b60
2 changed files with 110 additions and 50 deletions

View File

@@ -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;