summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2016-02-04 13:57:43 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2016-02-04 13:59:09 +0900
commita57d301f2a4e719c83f370a745446409a33b32ca (patch)
tree3cac8af1bec4a40038054840d9ee67a3d9024d8e
parent584a5a32a216203bf57b090390c415747b690968 (diff)
ecore_imf/wayland: do not check input panel enable in show or hide
Input panel enable is already being checked in ecore_imf API.
Diffstat (limited to '')
-rw-r--r--src/modules/ecore_imf/wayland/wayland_imcontext.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/ecore_imf/wayland/wayland_imcontext.c b/src/modules/ecore_imf/wayland/wayland_imcontext.c
index c23343f6ad..f2a2dce92e 100644
--- a/src/modules/ecore_imf/wayland/wayland_imcontext.c
+++ b/src/modules/ecore_imf/wayland/wayland_imcontext.c
@@ -827,8 +827,7 @@ wayland_im_context_show(Ecore_IMF_Context *ctx)
827 827
828 EINA_LOG_DOM_INFO(_ecore_imf_wayland_log_dom, "context_show"); 828 EINA_LOG_DOM_INFO(_ecore_imf_wayland_log_dom, "context_show");
829 829
830 if ((imcontext->text_input) && 830 if (imcontext->text_input)
831 (ecore_imf_context_input_panel_enabled_get(ctx)))
832 wl_text_input_show_input_panel(imcontext->text_input); 831 wl_text_input_show_input_panel(imcontext->text_input);
833} 832}
834 833
@@ -839,8 +838,7 @@ wayland_im_context_hide(Ecore_IMF_Context *ctx)
839 838
840 EINA_LOG_DOM_INFO(_ecore_imf_wayland_log_dom, "context_hide"); 839 EINA_LOG_DOM_INFO(_ecore_imf_wayland_log_dom, "context_hide");
841 840
842 if ((imcontext->text_input) && 841 if (imcontext->text_input)
843 (ecore_imf_context_input_panel_enabled_get(ctx)))
844 wl_text_input_hide_input_panel(imcontext->text_input); 842 wl_text_input_hide_input_panel(imcontext->text_input);
845} 843}
846 844