diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-12-16 18:37:34 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-12-16 18:37:34 +0000 |
| commit | 0706c1a1f74ef70bfaa3cd46d223f703e553e64e (patch) | |
| tree | 77078ae4b9f30a9d7badefe97031ed2ac9ab4345 /src/desktop/LayerSurface.cpp | |
| parent | aecf1abddd98f3cf0a65eaa98a7e203fcc444b6b (diff) | |
layerrules: fix ignorezero not working
fixes #8737
Diffstat (limited to 'src/desktop/LayerSurface.cpp')
| -rw-r--r-- | src/desktop/LayerSurface.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/desktop/LayerSurface.cpp b/src/desktop/LayerSurface.cpp index 6c63c1ca..bfa77a68 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) |
