LS: add blur and ignorezero rules
This commit is contained in:
parent
91a565c7b0
commit
e5870d47c7
9 changed files with 61 additions and 18 deletions
|
|
@ -121,10 +121,7 @@ void Events::listener_mapLayerSurface(void* owner, void* data) {
|
|||
if (!PMONITOR)
|
||||
return;
|
||||
|
||||
for (auto& rule : g_pConfigManager->getMatchingRules(layersurface)) {
|
||||
if (rule.rule == "noanim")
|
||||
layersurface->noAnimations = true;
|
||||
}
|
||||
layersurface->applyRules();
|
||||
|
||||
if ((uint64_t)layersurface->monitorID != PMONITOR->ID) {
|
||||
const auto POLDMON = g_pCompositor->getMonitorFromID(layersurface->monitorID);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue