feat(core): wire up windows layout caching interval setting. Fix #745

This commit is contained in:
Federico Terzi 2021-10-25 21:31:38 +02:00
parent 0faa838932
commit a00afd4874
2 changed files with 3 additions and 0 deletions

View File

@ -126,6 +126,8 @@ pub fn initialize_and_spawn(
),
hotkeys: match_converter.get_hotkeys(),
win32_exclude_orphan_events: default_config.win32_exclude_orphan_events(),
win32_keyboard_layout_cache_interval: default_config
.win32_keyboard_layout_cache_interval(),
})
.expect("failed to initialize detector module");
let exit_source = super::engine::funnel::exit::ExitSource::new(exit_signal, &sequencer);

View File

@ -49,5 +49,6 @@ generate_patchable_config!(
apply_patch -> bool,
undo_backspace -> bool,
win32_exclude_orphan_events -> bool,
win32_keyboard_layout_cache_interval -> i64,
keyboard_layout -> Option<RMLVOConfig>
);