diff options
| author | ssareta <ssareta@protonmail.com> | 2026-02-17 01:15:50 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-16 12:15:50 +0000 |
| commit | 17fc159ae28c79210378022f875310e1c7376daa (patch) | |
| tree | e649a8f5f8ee7e277506ab975009fcd4d668b0dc | |
| parent | 6716b8a0e32b1adf68cd158ea38acec73f3fc22e (diff) | |
desktop/windowRule: use content rule as enum directly (#13275)
| -rw-r--r-- | src/desktop/rule/windowRule/WindowRule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/rule/windowRule/WindowRule.cpp b/src/desktop/rule/windowRule/WindowRule.cpp index d1994d2e..3511e0f9 100644 --- a/src/desktop/rule/windowRule/WindowRule.cpp +++ b/src/desktop/rule/windowRule/WindowRule.cpp @@ -97,7 +97,7 @@ bool CWindowRule::matches(PHLWINDOW w, bool allowEnvLookup) { return false; break; case RULE_PROP_CONTENT: - if (!engine->match(NContentType::toString(w->getContentType()))) + if (!engine->match(w->getContentType())) return false; break; case RULE_PROP_XDG_TAG: |
