Added custom reserved area per mon
This commit is contained in:
parent
dddb00fbc8
commit
d284aaa2ca
3 changed files with 41 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue