summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
diff options
context:
space:
mode:
authorHilmar Wiegand <me@hwgnd.de>2023-04-10 15:40:03 +0200
committerGitHub <noreply@github.com>2023-04-10 14:40:03 +0100
commit6a4bda60f2dfcc82fbccfca49d5c50a31f475596 (patch)
treeb0ce10bba3cc737d56b2844a2d16f580b1f34d1f /src/config/ConfigManager.cpp
parent16d05a5c8bf06c1e945f90c8bae4131dea54c290 (diff)
Allow movefocus for empty workspaces (#2011)
* Allow switching to empty workspaces using movefocus * Allow switching to other workspaces when no windows are focused * Implement review feedback * Add option to disable focus fallback * Remove unnecessary braces
Diffstat (limited to 'src/config/ConfigManager.cpp')
-rw-r--r--src/config/ConfigManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 37554ff9..bf11b1bf 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -63,6 +63,7 @@ void CConfigManager::setDefaultVars() {
((CGradientValueData*)configValues["general:col.group_border_active"].data.get())->reset(0x66ffff00);
configValues["general:cursor_inactive_timeout"].intValue = 0;
configValues["general:no_cursor_warps"].intValue = 0;
+ configValues["general:no_focus_fallback"].intValue = 0;
configValues["general:resize_on_border"].intValue = 0;
configValues["general:extend_border_grab_area"].intValue = 15;
configValues["general:hover_icon_on_border"].intValue = 1;
@@ -1967,4 +1968,4 @@ std::string CConfigManager::getDefaultWorkspaceFor(const std::string& name) {
if (IT == m_mDefaultWorkspaces.end())
return "";
return IT->second;
-} \ No newline at end of file
+}