1
0
Fork 0
forked from wry/wry

text-input: reset text-input state after disconnect

This commit is contained in:
Julian Orth 2025-10-16 01:53:56 +02:00
parent 881fb24878
commit 8372f83737

View file

@ -110,5 +110,10 @@ impl TextInputConnection {
popup.update_visible();
}
}
if reason != TextDisconnectReason::TextInputDisabled {
self.text_input.send_preedit_string(None, 0, 0);
self.text_input.send_commit_string(None);
self.text_input.send_done();
}
}
}