wayland IME: Discard completed delete request

Co-authored-by: dcz <gilapfco.dcz@porcupinefactory.org>
This commit is contained in:
DorotaC
2026-02-06 16:31:07 +01:00
committed by GitHub
parent 5218e11e55
commit cf9daedb18

View File

@@ -150,7 +150,7 @@ impl Dispatch<ZwpTextInputV3, TextInputData, WinitState> for TextInputState {
// 6. Place cursor inside preedit text.
if let Some(DeleteSurroundingText { before, after }) =
text_input_data.pending_delete
text_input_data.pending_delete.take()
{
state.events_sink.push_window_event(
WindowEvent::Ime(Ime::DeleteSurrounding {