From 0706c1a1f74ef70bfaa3cd46d223f703e553e64e Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 16 Dec 2024 18:37:34 +0000 Subject: [PATCH] layerrules: fix ignorezero not working fixes #8737 --- src/desktop/LayerSurface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/desktop/LayerSurface.cpp b/src/desktop/LayerSurface.cpp index 6c63c1ca9..bfa77a686 100644 --- a/src/desktop/LayerSurface.cpp +++ b/src/desktop/LayerSurface.cpp @@ -391,7 +391,8 @@ void CLayerSurface::applyRules() { forceBlurPopups = true; break; } - case CLayerRule::RULE_IGNOREALPHA: { + case CLayerRule::RULE_IGNOREALPHA: + case CLayerRule::RULE_IGNOREZERO: { const auto FIRST_SPACE_POS = rule->rule.find_first_of(' '); std::string alphaValue = ""; if (FIRST_SPACE_POS != std::string::npos)