Added custom reserved area per mon

This commit is contained in:
vaxerski
2022-04-27 17:46:07 +02:00
parent dddb00fbc8
commit d284aaa2ca
3 changed files with 41 additions and 2 deletions

View File

@@ -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();