forked from enlightenment/efl
ecore_imf/wayland: do not check input panel enable in show or hide
Input panel enable is already being checked in ecore_imf API.
This commit is contained in:
parent
584a5a32a2
commit
a57d301f2a
|
@ -827,8 +827,7 @@ wayland_im_context_show(Ecore_IMF_Context *ctx)
|
|||
|
||||
EINA_LOG_DOM_INFO(_ecore_imf_wayland_log_dom, "context_show");
|
||||
|
||||
if ((imcontext->text_input) &&
|
||||
(ecore_imf_context_input_panel_enabled_get(ctx)))
|
||||
if (imcontext->text_input)
|
||||
wl_text_input_show_input_panel(imcontext->text_input);
|
||||
}
|
||||
|
||||
|
@ -839,8 +838,7 @@ wayland_im_context_hide(Ecore_IMF_Context *ctx)
|
|||
|
||||
EINA_LOG_DOM_INFO(_ecore_imf_wayland_log_dom, "context_hide");
|
||||
|
||||
if ((imcontext->text_input) &&
|
||||
(ecore_imf_context_input_panel_enabled_get(ctx)))
|
||||
if (imcontext->text_input)
|
||||
wl_text_input_hide_input_panel(imcontext->text_input);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue