Update helper focus_ic by focus_in_helper/focus_out_helper even when H/W keyboard... 78/17678/1
authorHaifeng Deng <haifeng.deng@samsung.com>
Wed, 23 Oct 2013 03:10:31 +0000 (11:10 +0800)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 7 Mar 2014 09:42:11 +0000 (18:42 +0900)
Change-Id: I62b17d8bab18c35d9218caf2893a800e3cc2692d

ism/src/scim_panel_agent.cpp

index 6e84862d513ea8f67d966565d2cacbb271034325..0387f29ff4a9489b792ea633fbceb1e0f307dec1 100644 (file)
@@ -3142,9 +3142,7 @@ private:
                     if (cmd == SCIM_TRANS_CMD_FOCUS_IN) {
                         SCIM_DEBUG_MAIN(4) << "    SCIM_TRANS_CMD_FOCUS_IN (" << "client:" << client_id << " context:" << context << ")\n";
                         m_signal_focus_in ();
-                        if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode)
-                            focus_in_helper (m_current_helper_uuid, m_panel_client_map[client_id], context);
-
+                        focus_in_helper (m_current_helper_uuid, m_panel_client_map[client_id], context);
                         if (m_recv_trans.get_data (uuid)) {
                             SCIM_DEBUG_MAIN (2) << "PanelAgent::focus_in (" << client_id << "," << "," << context << "," << uuid << ")\n";
                             m_active_client_id = client_id;
@@ -3340,11 +3338,7 @@ private:
                     else if (cmd == SCIM_TRANS_CMD_FOCUS_OUT) {
                         m_signal_focus_out ();
                         lock ();
-                        TOOLBAR_MODE_T mode = m_current_toolbar_mode;
-
-                        if (TOOLBAR_HELPER_MODE == mode)
-                            focus_out_helper (m_current_helper_uuid, m_panel_client_map[client_id], context);
-
+                        focus_out_helper (m_current_helper_uuid, m_panel_client_map[client_id], context);
                         if (m_current_socket_client >= 0) {
                             m_last_socket_client  = m_current_socket_client;
                             m_last_client_context = m_current_client_context;