From eb433f39d328865ba5573139f3abfa64feee9d37 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Tue, 27 Sep 2016 15:34:40 +0900 Subject: [PATCH] Fix issue return key disable was not delivered Change-Id: I1db1a6449a0d416784f53605a012b70615c75114 Signed-off-by: Jihoon Kim --- ism/extras/wayland_immodule/wayland_imcontext.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c index 0b3be3b..5c12f2f 100644 --- a/ism/extras/wayland_immodule/wayland_imcontext.c +++ b/ism/extras/wayland_immodule/wayland_imcontext.c @@ -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); -- 2.7.4