wayland: fixup IME preedit

The done event shouldn't clear the state.

refs: #1772
This commit is contained in:
Wez Furlong committed 2022-07-09 12:35:01 -07:00
1 parent 9c758dd203
commit 7f6ae3c82d
1 file changed
+1 -5
+1 -5
View File
@@ -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: _ } => {}
_ => {}
}
}