feat(core): wire up some parameters in the clipboard injector

This commit is contained in:
Federico Terzi 2021-06-05 12:19:22 +02:00
parent f9ff881136
commit 149d9ec8a0

View File

@ -120,11 +120,11 @@ impl<'a> super::engine::dispatch::executor::clipboard_injector::ClipboardParamsP
let active = self.active(); let active = self.active();
super::engine::dispatch::executor::clipboard_injector::ClipboardParams { super::engine::dispatch::executor::clipboard_injector::ClipboardParams {
pre_paste_delay: active.pre_paste_delay(), pre_paste_delay: active.pre_paste_delay(),
paste_shortcut_event_delay: 5, // TODO: read from config paste_shortcut_event_delay: active.paste_shortcut_event_delay(),
paste_shortcut: None, // TODO: read from config paste_shortcut: active.paste_shortcut(),
disable_x11_fast_inject: false, // TODO: read from config disable_x11_fast_inject: active.disable_x11_fast_inject(),
restore_clipboard: true, // TODO: read from config restore_clipboard: active.preserve_clipboard(),
restore_clipboard_delay: 300, // TODO: read from config restore_clipboard_delay: active.restore_clipboard_delay(),
} }
} }
} }