diff options
Diffstat (limited to 'src/events/Layers.cpp')
| -rw-r--r-- | src/events/Layers.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/events/Layers.cpp b/src/events/Layers.cpp index 65f679d5..28c80e1d 100644 --- a/src/events/Layers.cpp +++ b/src/events/Layers.cpp @@ -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); |
