From 17297b32679fa48222dfb35eeaba583a9e170a1f Mon Sep 17 00:00:00 2001 From: Li Zhang Date: Tue, 7 Apr 2015 18:53:50 +0800 Subject: [PATCH] Show ISE panel with proper ctx Change-Id: I08a3419a221eed2d2b99c15e184ff322c0c6ecfa Signed-off-by: Li Zhang --- ism/src/scim_panel_agent.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/ism/src/scim_panel_agent.cpp b/ism/src/scim_panel_agent.cpp index 436dc6b..a4dca4f 100644 --- a/ism/src/scim_panel_agent.cpp +++ b/ism/src/scim_panel_agent.cpp @@ -1808,15 +1808,7 @@ public: if (m_recv_trans.get_data (client) && m_recv_trans.get_data (context) && m_recv_trans.get_data (&data, len)) { SCIM_DEBUG_MAIN(4) << __func__ << " (client:" << client << " context:" << context << ")\n"; if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode) { - int focused_client; - uint32 focused_context; - get_focused_context (focused_client, focused_context); - if (focused_client == -1 && m_active_client_id != -1) { - focused_client = m_panel_client_map[m_active_client_id]; - focused_context = 0; - } - - uint32 ctx = get_helper_ic (focused_client, focused_context); + uint32 ctx = get_helper_ic (client, context); ret = show_helper (m_current_helper_uuid, data, len, ctx); } /* Save ISE context for ISE panel re-showing */ -- 2.7.4