Show ISE panel with proper ctx 62/40762/1 accepted/tizen/3.0.2015.q2/common/20150609.181956 accepted/tizen/common/20150609.084554 accepted/tizen/mobile/20150609.090154 accepted/tizen/tv/20150609.090209 accepted/tizen/wearable/20150609.090227 submit/tizen/20150609.052646 submit/tizen_3.0.2015.q2_common/20150609.170642
authorLi Zhang <li2012.zhang@samsung.com>
Tue, 7 Apr 2015 10:53:50 +0000 (18:53 +0800)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 8 Jun 2015 23:54:50 +0000 (08:54 +0900)
Change-Id: I08a3419a221eed2d2b99c15e184ff322c0c6ecfa
Signed-off-by: Li Zhang <li2012.zhang@samsung.com>
ism/src/scim_panel_agent.cpp

index 436dc6b..a4dca4f 100644 (file)
@@ -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 */