Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/wayland_text_input.c:
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_NORMAL); zwp_text_input_v3_set_cursor_rectangle(text_input->zwp_text_input_v3, 0, 0, 0, 0); zwp_text_input_v3_commit(text_input->zwp_text_input_v3);
- text_input->serial++;
Doesn't look like you need the serial anymore.