summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorssareta <ssareta@protonmail.com>2026-02-17 01:15:50 +1300
committerGitHub <noreply@github.com>2026-02-16 12:15:50 +0000
commit17fc159ae28c79210378022f875310e1c7376daa (patch)
treee649a8f5f8ee7e277506ab975009fcd4d668b0dc
parent6716b8a0e32b1adf68cd158ea38acec73f3fc22e (diff)
desktop/windowRule: use content rule as enum directly (#13275)
-rw-r--r--src/desktop/rule/windowRule/WindowRule.cpp2
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: