diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-27 17:46:07 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-27 17:46:07 +0200 |
| commit | d284aaa2caaf6d25793fe27740b724a7b99a5be7 (patch) | |
| tree | 7a530030b0271c47fef269279019ef4eb8f0b975 /src/config/ConfigManager.hpp | |
| parent | dddb00fbc8cf9d973b3724a7366bdcc86e3b4717 (diff) | |
Added custom reserved area per mon
Diffstat (limited to 'src/config/ConfigManager.hpp')
| -rw-r--r-- | src/config/ConfigManager.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config/ConfigManager.hpp b/src/config/ConfigManager.hpp index 5c1e125c..b8136016 100644 --- a/src/config/ConfigManager.hpp +++ b/src/config/ConfigManager.hpp @@ -30,6 +30,13 @@ struct SMonitorRule { bool disabled = false; }; +struct SMonitorAdditionalReservedArea { + int top = 0; + int bottom = 0; + int left = 0; + int right = 0; +}; + struct SWindowRule { std::string szRule; std::string szValue; @@ -55,6 +62,8 @@ public: std::vector<SWindowRule> getMatchingRules(CWindow*); + std::unordered_map<std::string, SMonitorAdditionalReservedArea> m_mAdditionalReservedAreas; + // no-op when done. void dispatchExecOnce(); |
