config: add auto-focus window rule
This commit is contained in:
parent
51e752992f
commit
b1ca98b488
12 changed files with 114 additions and 10 deletions
|
|
@ -333,6 +333,9 @@ impl Rule for WindowRule {
|
|||
});
|
||||
}
|
||||
}
|
||||
if let Some(auto_focus) = self.auto_focus {
|
||||
matcher.set_auto_focus(auto_focus);
|
||||
}
|
||||
}
|
||||
|
||||
fn gen_matcher(m: Self::Matcher) -> Self::Criterion<'static> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue