summaryrefslogtreecommitdiff
path: root/src/events/Layers.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-03-17 23:16:13 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-03-17 23:16:13 +0000
commite5870d47c74150aa744ed55f9b7e58713d968209 (patch)
tree227fda73f787873bc97b64be333d0e0f7d596ec7 /src/events/Layers.cpp
parent91a565c7b0957968d686fccf8f3a5166b9c3fec9 (diff)
LS: add blur and ignorezero rules
Diffstat (limited to 'src/events/Layers.cpp')
-rw-r--r--src/events/Layers.cpp5
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);