summaryrefslogtreecommitdiff
path: root/src/lib/ecore_imf/ecore_imf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_imf/ecore_imf.c')
-rw-r--r--src/lib/ecore_imf/ecore_imf.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/ecore_imf/ecore_imf.c b/src/lib/ecore_imf/ecore_imf.c
index 143acc4e83..0f5b75fd4b 100644
--- a/src/lib/ecore_imf/ecore_imf.c
+++ b/src/lib/ecore_imf/ecore_imf.c
@@ -16,6 +16,7 @@ EAPI int ECORE_IMF_EVENT_DELETE_SURROUNDING = 0;
16 16
17int _ecore_imf_log_dom = -1; 17int _ecore_imf_log_dom = -1;
18static int _ecore_imf_init_count = 0; 18static int _ecore_imf_init_count = 0;
19extern Ecore_IMF_Context *show_req_ctx;
19 20
20EAPI int 21EAPI int
21ecore_imf_init(void) 22ecore_imf_init(void)
@@ -52,3 +53,18 @@ ecore_imf_shutdown(void)
52 ecore_shutdown(); 53 ecore_shutdown();
53 return _ecore_imf_init_count; 54 return _ecore_imf_init_count;
54} 55}
56
57EAPI Eina_Bool
58ecore_imf_input_panel_hide(void)
59{
60 if (show_req_ctx)
61 {
62 if (ecore_imf_context_input_panel_state_get(show_req_ctx) != ECORE_IMF_INPUT_PANEL_STATE_HIDE)
63 {
64 ecore_imf_context_input_panel_hide(show_req_ctx);
65 return EINA_TRUE;
66 }
67 }
68
69 return EINA_FALSE;
70}