Commit db9b60cc authored by Carlos Garnacho's avatar Carlos Garnacho Committed by Robert Mader
Browse files

wayland: Represent preedit string cursor offset in bytes

Both IBus and ClutterInputFocus work in character offsets for the cursor
position in the preedit string. However the zwp_text_input protocol does
define the preedit string cursor offset to be in bytes.

Fixes client bugs in representing the caret within the preedit string,
as we were clearly giving the wrong offset.

Fixes: gtk#2517

!1132
parent fa74da00
Pipeline #161708 passed with stages
in 10 minutes and 31 seconds
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