Skip to content

gtk/imwayland: Use serial to control outbound messages

Carlos Garnacho requested to merge wip/carlosg/im-wayland-backports-3.24 into gtk-3-24

Following the text-input protocol changes at https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/115, use the serial number to have the client push changes to the zwp_text_input_v3 object only after compositor/client states match.

This specifically is more lenient to compositors pushing multiple .done events ahead of the client replying to them.

(cherry-picked from commit f108f053)

Fixes: #4853 (closed)

Merge request reports