mirror of
https://github.com/brl/mutter.git
synced 2025-03-10 05:15:03 +00:00

The clutter_text_delete_text() function used underneath expects character offsets for both start/end position. Fix the end position passed an offset instead of that, and compesnate for the cursor position being always -1 when the caret is at the end of the string. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2384>