Skip to content

wayland/text-input: Add some input validation to set_surrounding()

The cursor and anchor position of the surrounding text must be within (or right before/after) the string that is submitted as surrounding text. Everything else is a client error that we shouldn't accept and log as such.

Edited by Jonas Dreßler

Merge request reports