Merge pull request #100715 from buresu/fix-wayland-ime-input

Fix last character deletion in Wayland IME input
This commit is contained in:
Rémi Verschelde 2025-01-03 00:48:55 +01:00
commit 35cf29bb21
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -2734,7 +2734,7 @@ void WaylandThread::_wp_text_input_on_done(void *data, struct zwp_text_input_v3
msg.instantiate();
msg->text = ss->ime_text_commit;
ss->wayland_thread->push_message(msg);
} else if (!ss->ime_text.is_empty()) {
} else {
Ref<IMEUpdateEventMessage> msg;
msg.instantiate();
msg->text = ss->ime_text;