Skip to content
Verified Commit 7c59ddff authored by Xuetian Weng's avatar Xuetian Weng
Browse files

Always send a done after commit for text input v3.

In Gtk's text-input-v3 implementation it expect done to update the
client serial after every commit. Though it is unclear whether this is a
protocol requirements, do the same thing like mutter for more
compatiblity, especially Gtk3 is in EOL not likely to be patched any
time soon.

To do so, we will need to keep track of the last active preedit,
otherwise only send_done() will clear the preedit.

(cherry picked from commit a74c4361)
parent 80183b35
Pipeline #191006 passed with stage
in 18 minutes and 1 second
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment