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.
This commit is contained in:
Maarten van Gompel
2022-12-12 15:34:52 +01:00
committed by GitHub
parent 0c1bec023f
commit 46891b12cf
3 changed files with 60 additions and 6 deletions

View File

@@ -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;