[mutter/wip/carlosg/clutter-text-preedit: 19/19] clutter: Set can_show_preedit flag on ClutterText



commit aaed7c9a4f2e01355eda05205c7e7dab9d00cac0
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Aug 15 16:35:20 2018 +0200

    clutter: Set can_show_preedit flag on ClutterText
    
    It is certainly able to visualize preedit text inline, so it must
    announce itself as such.

 clutter/clutter/clutter-text.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/clutter/clutter/clutter-text.c b/clutter/clutter/clutter-text.c
index 539bc5928..d8c7f2875 100644
--- a/clutter/clutter/clutter-text.c
+++ b/clutter/clutter/clutter-text.c
@@ -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);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]