From 678f9e4376b160b11d28de23aa269aec33d60684 Mon Sep 17 00:00:00 2001 From: InHong Han Date: Tue, 25 Jul 2017 16:43:27 +0900 Subject: [PATCH] Modified to set keyboard mode to HW keyboard when the entry having focus in TV profile Change-Id: I8b22c82a327e75b072370bd6071c81f45d97ce22 --- ism/extras/wayland_immodule/wayland_imcontext.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c index 65719ed..a9c1f45 100644 --- a/ism/extras/wayland_immodule/wayland_imcontext.c +++ b/ism/extras/wayland_immodule/wayland_imcontext.c @@ -2732,6 +2732,13 @@ wayland_im_context_focus_in(Ecore_IMF_Context *ctx) return; } + if (_TV) { + if (hw_keyboard_mode == EINA_TRUE) { + vconf_set_bool (VCONFKEY_ISF_HW_KEYBOARD_INPUT_DETECTED, 0); + hw_keyboard_mode = EINA_FALSE; + } + } + WaylandIMContext *imcontext = (WaylandIMContext *)ecore_imf_context_data_get(ctx); if (imcontext && imcontext->input && imcontext->text_input) { wl_text_input_set_return_key_disabled(imcontext->text_input, -- 2.7.4