fix(core): disable undo_backspace on Wayland due to stability issues

This commit is contained in:
Federico Terzi 2021-09-09 20:06:12 +02:00
parent 27f53c386c
commit 9628361db0

View File

@ -164,6 +164,11 @@ impl<'a> espanso_engine::process::MatcherMiddlewareConfigProvider for ConfigMana
impl<'a> espanso_engine::process::UndoEnabledProvider for ConfigManager<'a> {
fn is_undo_enabled(&self) -> bool {
// Disable undo_backspace on Wayland for now as it's not stable
if cfg!(feature = "wayland") {
return false
}
self.active().undo_backspace()
}
}