config: add content-type window criteria
This commit is contained in:
parent
fb5c50467b
commit
4fd70f03e1
22 changed files with 327 additions and 18 deletions
|
|
@ -281,6 +281,9 @@ impl Rule for WindowRule {
|
|||
};
|
||||
all.push(matcher);
|
||||
}
|
||||
if let Some(value) = &match_.content_types {
|
||||
all.push(m(WindowCriterion::ContentTypes(*value)));
|
||||
}
|
||||
Some(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue