You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix last character deletion in Wayland IME input
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user