windowrules: rewrite completely (#12269)
Reworks the window rule syntax completely --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
This commit is contained in:
parent
95ee08b340
commit
c2670e9ab9
93 changed files with 3574 additions and 2255 deletions
|
|
@ -177,7 +177,11 @@ void CMonitor::onConnect(bool noRule) {
|
|||
m_forceSize = SIZE;
|
||||
|
||||
SMonitorRule rule = m_activeMonitorRule;
|
||||
rule.resolution = SIZE;
|
||||
|
||||
if (SIZE == rule.resolution)
|
||||
return;
|
||||
|
||||
rule.resolution = SIZE;
|
||||
|
||||
applyMonitorRule(&rule);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue