desktop/rule: fix matching for content type by str
This commit is contained in:
parent
0002f148c9
commit
f7114016c6
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ bool CWindowRule::matches(PHLWINDOW w, bool allowEnvLookup) {
|
|||
return false;
|
||||
break;
|
||||
case RULE_PROP_CONTENT:
|
||||
if (!engine->match(w->getContentType()))
|
||||
if (!engine->match(w->getContentType()) && !engine->match(NContentType::toString(w->getContentType())))
|
||||
return false;
|
||||
break;
|
||||
case RULE_PROP_XDG_TAG:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue