From 19bbdeed47cdf4423e745a201137c96d74beb8a6 Mon Sep 17 00:00:00 2001 From: Jeremy Huang <66577496+thejch@users.noreply.github.com> Date: Sun, 10 Sep 2023 14:58:06 -0700 Subject: master: Add smart resizing option for master layout (#3210) * add smart resizing for master layout * fix smart resizing workspace check * master layout fix smart resize when at max size * change resizing for center orientation so it doesnt use all nodes * master layout resizing, simplify code for calculating total height and weight * remove the redundant smart resizing check --- 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 c8e2aa12..02a745fb 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -179,6 +179,7 @@ void CConfigManager::setDefaultVars() { configValues["master:orientation"].strValue = "left"; configValues["master:inherit_fullscreen"].intValue = 1; configValues["master:allow_small_split"].intValue = 0; + configValues["master:smart_resizing"].intValue = 1; configValues["animations:enabled"].intValue = 1; -- cgit v1.2.3