From e71a4d75dea28db4437b2aab34efb3ac399ba079 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 6 Sep 2022 11:57:11 +0200 Subject: Added windowrulev2 --- src/config/ConfigManager.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/config/ConfigManager.hpp') diff --git a/src/config/ConfigManager.hpp b/src/config/ConfigManager.hpp index 72eb58f6..0077548c 100644 --- a/src/config/ConfigManager.hpp +++ b/src/config/ConfigManager.hpp @@ -48,6 +48,10 @@ struct SMonitorAdditionalReservedArea { struct SWindowRule { std::string szRule; std::string szValue; + + bool v2 = false; + std::string szTitle; + std::string szClass; }; struct SAnimationPropertyConfig { @@ -151,6 +155,7 @@ private: 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 handleWindowRuleV2(const std::string&, const std::string&); void handleDefaultWorkspace(const std::string&, const std::string&); void handleBezier(const std::string&, const std::string&); void handleAnimation(const std::string&, const std::string&); -- cgit v1.2.3