From 8ae1fd01730ebd8382d850d1d5526fee0fb076f1 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 25 Jan 2023 15:34:13 +0000 Subject: added layer rules --- src/config/ConfigManager.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/config/ConfigManager.hpp') 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 #include #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 getMatchingRules(CWindow*); + std::vector getMatchingRules(SLayerSurface*); std::unordered_map m_mAdditionalReservedAreas; @@ -200,6 +202,7 @@ class CConfigManager { std::deque m_dMonitorRules; std::deque m_dWindowRules; + std::deque m_dLayerRules; std::deque 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&); -- cgit v1.2.3