aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/config/ConfigManager.cpp
diff options
context:
space:
mode:
authorUjinT34 <[email protected]>2024-12-02 18:32:32 +0300
committerGitHub <[email protected]>2024-12-02 15:32:32 +0000
commit10a9fec7fc8e77479a599985c776a8a184311cd6 (patch)
tree6e20efdf2e21161b3fe36eb86ac90da5aad71b36 /src/config/ConfigManager.cpp
parent6d7544458d0fafcae410c1978a0cabce2fb4a346 (diff)
downloadHyprland-10a9fec7fc8e77479a599985c776a8a184311cd6.tar.gz
Hyprland-10a9fec7fc8e77479a599985c776a8a184311cd6.zip
master: make center ignore reserved areas (#8625)
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 c0f212cf..07de8c24 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -470,6 +470,7 @@ CConfigManager::CConfigManager() {
m_pConfig->addConfigValue("master:mfact", {0.55f});
m_pConfig->addConfigValue("master:new_status", {"slave"});
m_pConfig->addConfigValue("master:always_center_master", Hyprlang::INT{0});
+ m_pConfig->addConfigValue("master:center_ignores_reserved", Hyprlang::INT{0});
m_pConfig->addConfigValue("master:new_on_active", {"none"});
m_pConfig->addConfigValue("master:new_on_top", Hyprlang::INT{0});
m_pConfig->addConfigValue("master:orientation", {"left"});