summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
diff options
context:
space:
mode:
authorMarcus Kellerman <sharkusk@users.noreply.github.com>2023-02-26 15:12:14 -0800
committerGitHub <noreply@github.com>2023-02-26 23:12:14 +0000
commit492f36f7dfe9a6c9b31989e9c0571b30c481c8ce (patch)
tree5eee0ee6337e85c114c4551bd5f723d08ba83d24 /src/config/ConfigManager.cpp
parent2e21ad875bea2ed88c158db6128bc74bab9ac611 (diff)
Added center orientation to master layout (#1642)
* Added center orientation to master layout to improve experience on ultra widescreen monitors. * Added support for orientationcenter layout message for master layout * Added ability to optionally always center master window when in centered master mode.
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 35023b8e..c55dd498 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -114,6 +114,7 @@ void CConfigManager::setDefaultVars() {
configValues["master:special_scale_factor"].floatValue = 0.8f;
configValues["master:new_is_master"].intValue = 1;
+ configValues["master:always_center_master"].intValue = 0;
configValues["master:new_on_top"].intValue = 0;
configValues["master:no_gaps_when_only"].intValue = 0;
configValues["master:orientation"].strValue = "left";