desktop/windowRule: use content rule as enum directly (#13275)
This commit is contained in:
parent
6716b8a0e3
commit
17fc159ae2
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ bool CWindowRule::matches(PHLWINDOW w, bool allowEnvLookup) {
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
case RULE_PROP_CONTENT:
|
case RULE_PROP_CONTENT:
|
||||||
if (!engine->match(NContentType::toString(w->getContentType())))
|
if (!engine->match(w->getContentType()))
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
case RULE_PROP_XDG_TAG:
|
case RULE_PROP_XDG_TAG:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue