Skip to content

clutter: Only reset preedit text if set

Carlos Garnacho requested to merge wip/carlosg/text-input-preedit-reset into main

On ClutterInputFocus::reset, avoid to unset the preedit text if none was set earlier. This seems to trick GTK clients into focusing the cursor position again, even when we are moving away from it.

Fixes: gnome-shell#4647 (closed)

Merge request reports