clutter: Set can_show_preedit flag on ClutterText

It is certainly able to visualize preedit text inline, so it must
announce itself as such.
This commit is contained in:
Carlos Garnacho 2018-08-15 16:35:20 +02:00 committed by Florian Müllner
parent fa8930817e
commit aaed7c9a4f

View File

@ -2829,6 +2829,7 @@ clutter_text_im_focus (ClutterText *text)
priv->input_purpose);
clutter_input_focus_set_content_hints (priv->input_focus,
priv->input_hints);
clutter_input_focus_set_can_show_preedit (priv->input_focus, TRUE);
update_cursor_location (text);
}