From 7f6ae3c82d51461acaeade50ec7e733b003ec94d Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 9 Jul 2022 12:35:01 -0700 Subject: [PATCH] wayland: fixup IME preedit The done event shouldn't clear the state. refs: #1772 --- window/src/os/wayland/inputhandler.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/window/src/os/wayland/inputhandler.rs b/window/src/os/wayland/inputhandler.rs index aab8df669..4ef205aab 100644 --- a/window/src/os/wayland/inputhandler.rs +++ b/window/src/os/wayland/inputhandler.rs @@ -55,11 +55,7 @@ impl Inner { None => WindowEvent::AdviseDeadKeyStatus(DeadKeyStatus::None), }); } - Event::Done { serial: _ } => { - conn.dispatch_to_focused_window(WindowEvent::AdviseDeadKeyStatus( - DeadKeyStatus::None, - )); - } + Event::Done { serial: _ } => {} _ => {} } }