From 492f36f7dfe9a6c9b31989e9c0571b30c481c8ce Mon Sep 17 00:00:00 2001 From: Marcus Kellerman Date: Sun, 26 Feb 2023 15:12:14 -0800 Subject: 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. --- 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 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"; -- cgit v1.2.3