1
0
Fork 0
forked from wry/wry

config: add auto-focus window rule

This commit is contained in:
Julian Orth 2025-05-03 15:33:02 +02:00
parent 51e752992f
commit b1ca98b488
12 changed files with 114 additions and 10 deletions

View file

@ -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> {