summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
diff options
context:
space:
mode:
authorMaarten van Gompel <proycon@anaproy.nl>2022-12-12 15:34:52 +0100
committerGitHub <noreply@github.com>2022-12-12 14:34:52 +0000
commit46891b12cf307d8bf934b42e5b4919fa594075f0 (patch)
treeaf5c51ee0eba81cef1799576f71759ba0033db9f /src/config/ConfigManager.cpp
parent0c1bec023fa13df651c39c5febcecb35b5ff277a (diff)
Master layout: lose or inherit fullscreen on deliberate window switching (#1213)
* Master layout: Lose fullscreen status when deliberately switching away from a fullscreen window * Master layout: implemented inherit_fullscreen config parameter When set, if you are on a fullscreen window and you cycle to the next, swap master, etc, it will be automatically fullscreened.
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 21659cf2..1092b1c4 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -110,6 +110,7 @@ void CConfigManager::setDefaultVars() {
configValues["master:new_on_top"].intValue = 0;
configValues["master:no_gaps_when_only"].intValue = 0;
configValues["master:orientation"].strValue = "left";
+ configValues["master:inherit_fullscreen"].intValue = 1;
configValues["animations:enabled"].intValue = 1;
configValues["animations:speed"].floatValue = 7.f;