From 378152e56571b6ecacadf80505c1717fd3eadc63 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Tue, 3 Aug 2021 19:15:19 +0200 Subject: [PATCH] fix(core): Fix XTerm patch on Linux --- espanso/src/patch/patches/linux/xterm_terminal_x11.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/espanso/src/patch/patches/linux/xterm_terminal_x11.rs b/espanso/src/patch/patches/linux/xterm_terminal_x11.rs index 833692f..2bc205f 100644 --- a/espanso/src/patch/patches/linux/xterm_terminal_x11.rs +++ b/espanso/src/patch/patches/linux/xterm_terminal_x11.rs @@ -19,6 +19,8 @@ use std::sync::Arc; +use espanso_config::config::Backend; + use crate::patch::patches::{PatchedConfig, Patches}; use crate::patch::PatchDefinition; @@ -32,10 +34,11 @@ pub fn patch() -> PatchDefinition { base, name, Patches { - paste_shortcut: Some(Some("CTRL+SHIFT+V".to_string())), + disable_x11_fast_inject: Some(true), + backend: Some(Backend::Inject), ..Default::default() }, )) }, } -} \ No newline at end of file +}