summaryrefslogtreecommitdiff
path: root/ism/extras
diff options
context:
space:
mode:
authorJi-hoon Lee <dalton.lee@samsung.com>2018-03-20 11:04:08 +0900
committerJi-hoon Lee <dalton.lee@samsung.com>2018-03-20 11:04:29 +0900
commit18e623315a8ccd2742d4e107d354d7ecc9aaf9b1 (patch)
tree411671965a0931a4236ba63f4c5c83b228cb9873 /ism/extras
parentdaf08088a301c62b064ce099801c355d1ed57f73 (diff)
downloadisf-18e623315a8ccd2742d4e107d354d7ecc9aaf9b1.tar.gz
isf-18e623315a8ccd2742d4e107d354d7ecc9aaf9b1.tar.bz2
isf-18e623315a8ccd2742d4e107d354d7ecc9aaf9b1.zip
Revert "Change the keyboard mode rule on focus-in event"
This reverts commit 6f8295aae8778d5fc9b8abfe15a9db7013017aef. Change-Id: Ib8bb4ab1f6db3387c75351559d422e73962d170a
Diffstat (limited to 'ism/extras')
-rw-r--r--ism/extras/wayland_immodule/wayland_imcontext.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c
index 6463f1d6..dabe0199 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;
}