diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-01-25 15:34:13 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-01-25 15:34:13 +0000 |
| commit | 8ae1fd01730ebd8382d850d1d5526fee0fb076f1 (patch) | |
| tree | 04db54c3ef3cc62cc2a29b501329f1d127770252 /src/config/ConfigManager.hpp | |
| parent | 9813ba2f567a2e489b95bf15168cdcd26a31bec9 (diff) | |
added layer rules
Diffstat (limited to 'src/config/ConfigManager.hpp')
| -rw-r--r-- | src/config/ConfigManager.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/ConfigManager.hpp b/src/config/ConfigManager.hpp index 2b8ea8ab..80971966 100644 --- a/src/config/ConfigManager.hpp +++ b/src/config/ConfigManager.hpp @@ -11,6 +11,7 @@ #include <algorithm> #include <regex> #include "../Window.hpp" +#include "../helpers/WLClasses.hpp" #include "defaultConfig.hpp" #include "ConfigDataValues.hpp" @@ -152,6 +153,7 @@ class CConfigManager { std::string getBoundMonitorStringForWS(const std::string&); std::vector<SWindowRule> getMatchingRules(CWindow*); + std::vector<SLayerRule> getMatchingRules(SLayerSurface*); std::unordered_map<std::string, SMonitorAdditionalReservedArea> m_mAdditionalReservedAreas; @@ -200,6 +202,7 @@ class CConfigManager { std::deque<SMonitorRule> m_dMonitorRules; std::deque<SWindowRule> m_dWindowRules; + std::deque<SLayerRule> m_dLayerRules; std::deque<std::string> m_dBlurLSNamespaces; bool firstExecDispatched = false; @@ -224,6 +227,7 @@ class CConfigManager { void handleBind(const std::string&, const std::string&); void handleUnbind(const std::string&, const std::string&); void handleWindowRule(const std::string&, const std::string&); + void handleLayerRule(const std::string&, const std::string&); void handleWindowRuleV2(const std::string&, const std::string&); void handleDefaultWorkspace(const std::string&, const std::string&); void handleBezier(const std::string&, const std::string&); |
