diff options
| author | Jeremy Huang <66577496+thejch@users.noreply.github.com> | 2023-09-10 14:58:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-10 22:58:06 +0100 |
| commit | 19bbdeed47cdf4423e745a201137c96d74beb8a6 (patch) | |
| tree | cd8835dc165e74c1536abebe1aafe4bc1f7fd95b /src/config/ConfigManager.cpp | |
| parent | 0d53401217b79a9dd552f84ce5d3f8b2985641ee (diff) | |
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
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
