if (need_reg) _panel_client.register_input_context (context_scim->id, context_scim->impl->si->get_factory_uuid ());
if (need_cap) set_ic_capabilities (context_scim);
+ save_current_xid (ctx);
+
panel_req_focus_in (context_scim);
// panel_req_update_spot_location (context_scim);
// panel_req_update_factory_info (context_scim);
return xid;
}
-static void _save_current_xid (Ecore_IMF_Context *ctx)
+void save_current_xid (Ecore_IMF_Context *ctx)
{
Ecore_X_Window xid = 0, rootwin_xid = 0;
active_context_canvas = (Evas *)ecore_imf_context_client_canvas_get (ctx);
/* Set the current XID of the active window into the root window property */
- _save_current_xid (ctx);
+ save_current_xid (ctx);
if (get_desktop_mode ()) {
LOGD ("IME will not appear in case of desktop mode.\n");
int hw_keyboard_num_get ();
bool process_update_input_context (int type, int value);
Ecore_IMF_Context *get_using_ic (Ecore_IMF_Input_Panel_Event type, int value);
+ void save_current_xid (Ecore_IMF_Context *ctx);
void isf_imf_input_panel_init ();
void isf_imf_input_panel_shutdown ();