From 4b745fbe66ab57eabc5d1bb272bcc853999dbb3e Mon Sep 17 00:00:00 2001 From: InHong Han Date: Wed, 29 Aug 2018 16:06:47 +0900 Subject: [PATCH] Fix issue content hint was not delivered when the focus_in is called without show event Change-Id: I4464734ca06295a0059b944c80ac5d1725f6a7df --- ism/extras/wayland_immodule/wayland_imcontext.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c index 8e98232..f31f036 100644 --- a/ism/extras/wayland_immodule/wayland_imcontext.c +++ b/ism/extras/wayland_immodule/wayland_imcontext.c @@ -2995,6 +2995,8 @@ wayland_im_context_focus_in(Ecore_IMF_Context *ctx) const Eina_Hash *hash = ecore_imf_context_prediction_hint_hash_get(ctx); if (hash) eina_hash_foreach(hash, _prediction_hint_data_foreach_cb, ctx); + + wl_text_input_set_content_type(imcontext->text_input, imcontext->content_hint, get_purpose(ctx)); } if (ecore_imf_context_input_panel_enabled_get(ctx)) -- 2.7.4