1
0
Fork 0
forked from wry/wry

config: add mouse-follows-focus option

This commit is contained in:
Nicolaus Jacobsen 2026-03-10 09:36:13 +01:00 committed by Julian Orth
parent 0d4ee299d4
commit 216d104b73
14 changed files with 134 additions and 6 deletions

View file

@ -154,6 +154,7 @@ impl Parser for ConfigParser<'_> {
fallback_output_mode_val,
egui_val,
clean_logs_older_than_val,
mouse_follows_focus,
),
) = ext.extract((
(
@ -214,6 +215,7 @@ impl Parser for ConfigParser<'_> {
opt(val("fallback-output-mode")),
opt(val("egui")),
opt(val("clean-logs-older-than")),
recover(opt(bol("unstable-mouse-follows-focus"))),
),
))?;
let mut keymap = None;
@ -615,6 +617,7 @@ impl Parser for ConfigParser<'_> {
workspace_display_order,
simple_im,
fallback_output_mode,
mouse_follows_focus: mouse_follows_focus.despan(),
})
}
}