From 18e623315a8ccd2742d4e107d354d7ecc9aaf9b1 Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Tue, 20 Mar 2018 11:04:08 +0900 Subject: [PATCH] Revert "Change the keyboard mode rule on focus-in event" This reverts commit 6f8295aae8778d5fc9b8abfe15a9db7013017aef. Change-Id: Ib8bb4ab1f6db3387c75351559d422e73962d170a --- ism/extras/wayland_immodule/wayland_imcontext.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c index 6463f1d..dabe019 100644 --- a/ism/extras/wayland_immodule/wayland_imcontext.c +++ b/ism/extras/wayland_immodule/wayland_imcontext.c @@ -2808,8 +2808,6 @@ _prediction_hint_data_foreach_cb(const Eina_Hash *hash, const void *key, void wayland_im_context_focus_in(Ecore_IMF_Context *ctx) { - Eina_Bool focused = g_focused; - LOGD ("ctx : %p. enable : %d, on demand : %d", ctx, ecore_imf_context_input_panel_enabled_get(ctx), ecore_imf_context_input_panel_show_on_demand_get (ctx)); @@ -2834,8 +2832,7 @@ wayland_im_context_focus_in(Ecore_IMF_Context *ctx) } if (_TV) { - // Set to SW keyboard mode only when the focus state is changed from OUT to IN. - if (!focused && hw_keyboard_mode == EINA_TRUE) { + if (hw_keyboard_mode == EINA_TRUE) { vconf_set_bool (VCONFKEY_ISF_HW_KEYBOARD_INPUT_DETECTED, 0); hw_keyboard_mode = EINA_FALSE; } -- 2.7.4