mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 17:11:30 +00:00
Fix last character deletion in Wayland IME input
This commit is contained in:
parent
a7a2a12bfd
commit
b719eed725
1 changed files with 1 additions and 1 deletions
|
|
@ -2734,7 +2734,7 @@ void WaylandThread::_wp_text_input_on_done(void *data, struct zwp_text_input_v3
|
||||||
msg.instantiate();
|
msg.instantiate();
|
||||||
msg->text = ss->ime_text_commit;
|
msg->text = ss->ime_text_commit;
|
||||||
ss->wayland_thread->push_message(msg);
|
ss->wayland_thread->push_message(msg);
|
||||||
} else if (!ss->ime_text.is_empty()) {
|
} else {
|
||||||
Ref<IMEUpdateEventMessage> msg;
|
Ref<IMEUpdateEventMessage> msg;
|
||||||
msg.instantiate();
|
msg.instantiate();
|
||||||
msg->text = ss->ime_text;
|
msg->text = ss->ime_text;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue