From 46891b12cf307d8bf934b42e5b4919fa594075f0 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Mon, 12 Dec 2022 15:34:52 +0100 Subject: 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. --- 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 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; -- cgit v1.2.3