feat(core): wire up win32_exclude_orphan_events option
This commit is contained in:
parent
7eddfd1f12
commit
babd1f715e
|
@ -77,6 +77,7 @@ pub fn initialize_and_spawn(
|
||||||
let config_manager =
|
let config_manager =
|
||||||
super::config::ConfigManager::new(&*config_store, &*match_store, &cached_app_info_provider);
|
super::config::ConfigManager::new(&*config_store, &*match_store, &cached_app_info_provider);
|
||||||
let match_cache = MatchCache::load(&*config_store, &*match_store);
|
let match_cache = MatchCache::load(&*config_store, &*match_store);
|
||||||
|
let default_config = &*config_manager.default();
|
||||||
|
|
||||||
let modulo_manager = crate::gui::modulo::manager::ModuloManager::new();
|
let modulo_manager = crate::gui::modulo::manager::ModuloManager::new();
|
||||||
let modulo_form_ui = crate::gui::modulo::form::ModuloFormUI::new(&modulo_manager);
|
let modulo_form_ui = crate::gui::modulo::form::ModuloFormUI::new(&modulo_manager);
|
||||||
|
@ -96,6 +97,7 @@ pub fn initialize_and_spawn(
|
||||||
use_evdev: use_evdev_backend,
|
use_evdev: use_evdev_backend,
|
||||||
evdev_keyboard_rmlvo: keyboard_layout_util::generate_detect_rmlvo(&*config_manager.default()),
|
evdev_keyboard_rmlvo: keyboard_layout_util::generate_detect_rmlvo(&*config_manager.default()),
|
||||||
hotkeys: match_converter.get_hotkeys(),
|
hotkeys: match_converter.get_hotkeys(),
|
||||||
|
win32_exclude_orphan_events: default_config.win32_exclude_orphan_events(),
|
||||||
})
|
})
|
||||||
.expect("failed to initialize detector module");
|
.expect("failed to initialize detector module");
|
||||||
let exit_source = super::engine::funnel::exit::ExitSource::new(exit_signal, &sequencer);
|
let exit_source = super::engine::funnel::exit::ExitSource::new(exit_signal, &sequencer);
|
||||||
|
@ -218,7 +220,6 @@ pub fn initialize_and_spawn(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let default_config = &*config_manager.default();
|
|
||||||
let notification_manager = NotificationManager::new(&*ui_remote, default_config);
|
let notification_manager = NotificationManager::new(&*ui_remote, default_config);
|
||||||
|
|
||||||
match start_reason.as_deref() {
|
match start_reason.as_deref() {
|
||||||
|
|
|
@ -47,5 +47,6 @@ generate_patchable_config!(
|
||||||
backspace_limit -> usize,
|
backspace_limit -> usize,
|
||||||
apply_patch -> bool,
|
apply_patch -> bool,
|
||||||
undo_backspace -> bool,
|
undo_backspace -> bool,
|
||||||
|
win32_exclude_orphan_events -> bool,
|
||||||
keyboard_layout -> Option<RMLVOConfig>
|
keyboard_layout -> Option<RMLVOConfig>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user