Fix issue return key disable was not delivered 23/89823/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 27 Sep 2016 06:34:40 +0000 (15:34 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 27 Sep 2016 06:34:40 +0000 (15:34 +0900)
Change-Id: I1db1a6449a0d416784f53605a012b70615c75114
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ism/extras/wayland_immodule/wayland_imcontext.c

index 0b3be3b..5c12f2f 100644 (file)
@@ -1793,6 +1793,11 @@ wayland_im_context_focus_in(Ecore_IMF_Context *ctx)
 
     LOGD ("ctx : %p. on demand : %d\n", ctx, ecore_imf_context_input_panel_show_on_demand_get (ctx));
 
+    WaylandIMContext *imcontext = (WaylandIMContext *)ecore_imf_context_data_get(ctx);
+    if (imcontext && imcontext->text_input)
+        wl_text_input_set_return_key_disabled(imcontext->text_input,
+                imcontext->return_key_disabled);
+
     if (ecore_imf_context_input_panel_enabled_get(ctx))
         if (!ecore_imf_context_input_panel_show_on_demand_get (ctx))
             show_input_panel(ctx);