summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2018-08-15 16:35:20 +0200
committerCarlos Garnacho <carlosg@gnome.org>2018-08-15 16:35:20 +0200
commit25d8fb6fa4c5faa45563cbb4e8765b89bdca838f (patch)
treedc48683b4e1370e349e50a4801282fcca5a53fc2
parent06d8701e248664c87a9cec2fe3ab7ab8d54a4764 (diff)
downloadmutter-wip/carlosg/clutter-text-preedit.tar.gz
clutter: Set can_show_preedit flag on ClutterTextwip/carlosg/clutter-text-preedit
It is certainly able to visualize preedit text inline, so it must announce itself as such.
-rw-r--r--clutter/clutter/clutter-text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clutter/clutter/clutter-text.c b/clutter/clutter/clutter-text.c
index 2855b59de..eaf5150ad 100644
--- a/clutter/clutter/clutter-text.c
+++ b/clutter/clutter/clutter-text.c
@@ -2835,6 +2835,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);
}