Remove code that does not seem to be effective 45/175045/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Fri, 6 Apr 2018 07:08:36 +0000 (16:08 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Fri, 6 Apr 2018 07:08:36 +0000 (16:08 +0900)
Change-Id: I72ddba89f42bb92e51dc016437c9547818fb860d

ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp

index f1404d7..e459a06 100644 (file)
@@ -1339,17 +1339,6 @@ isf_wsc_context_del (WSCContextISF *wsc_ctx)
     }
 
     if (context_scim->impl) {
-        // Delete the instance.
-        // FIXME:
-        // In case the instance send out some helper event,
-        // and this context has been focused out,
-        // we need set the focused_ic to this context temporary.
-        if (_focused_ic) {
-            WSCContextISF* old_focused = _focused_ic;
-            _focused_ic = context_scim;
-            context_scim = old_focused;
-        }
-
         if (context_scim == _focused_ic) {
             g_info_manager->socket_turn_off ();
             g_info_manager->focus_out (WAYLAND_MODULE_CLIENT_ID, context_scim->id);