#define SHIFT_MODE_DISABLE 0x9fe8
extern Ecore_IMF_Input_Panel_State input_panel_state;
+extern Ecore_IMF_Input_Panel_State notified_state;
extern Ecore_IMF_Context *input_panel_ctx;
// A hack to shutdown the immodule cleanly even if im_module_exit () is not called when exiting.
if (!_ic_list) return;
EcoreIMFContextISF *context_scim = (EcoreIMFContextISF*)ecore_imf_context_data_get (ctx);
- Ecore_IMF_Input_Panel_State input_panel_state = ecore_imf_context_input_panel_state_get (ctx);
if (context_scim) {
if (context_scim->id != _ic_list->id) {
if (input_panel_ctx == ctx && _scim_initialized) {
LOGD ("ctx : %p\n", ctx);
- if (input_panel_state == ECORE_IMF_INPUT_PANEL_STATE_WILL_SHOW ||
- input_panel_state == ECORE_IMF_INPUT_PANEL_STATE_SHOW) {
+ if (notified_state == ECORE_IMF_INPUT_PANEL_STATE_WILL_SHOW ||
+ notified_state == ECORE_IMF_INPUT_PANEL_STATE_SHOW) {
ecore_imf_context_input_panel_hide (ctx);
input_panel_event_callback_call (ECORE_IMF_INPUT_PANEL_STATE_EVENT, ECORE_IMF_INPUT_PANEL_STATE_HIDE);
isf_imf_context_input_panel_send_will_hide_ack (ctx);
static Ecore_Timer *hide_timer = NULL;
static Ecore_Timer *will_show_timer = NULL;
Ecore_IMF_Input_Panel_State input_panel_state = ECORE_IMF_INPUT_PANEL_STATE_HIDE;
-static Ecore_IMF_Input_Panel_State notified_state = ECORE_IMF_INPUT_PANEL_STATE_HIDE;
+Ecore_IMF_Input_Panel_State notified_state = ECORE_IMF_INPUT_PANEL_STATE_HIDE;
static int hide_context_id = -1;
static Evas *active_context_canvas = NULL;
static Ecore_X_Window active_context_window = -1;