Fix issue content hint was not delivered when the focus_in is called without show... 84/187884/3
authorInHong Han <inhong1.han@samsung.com>
Wed, 29 Aug 2018 07:06:47 +0000 (16:06 +0900)
committerInHong Han <inhong1.han@samsung.com>
Wed, 29 Aug 2018 07:23:01 +0000 (16:23 +0900)
Change-Id: I4464734ca06295a0059b944c80ac5d1725f6a7df

ism/extras/wayland_immodule/wayland_imcontext.c

index 8e98232..f31f036 100644 (file)
@@ -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))