When client shutdown, it doesn't need to set 'focus out' about this client, because it already disconnected.
Also, if it need to set 'focus in' to new client which is in _focus_candidates, it should be deleted from _focus_candidates when it set 'focus in'.
Change-Id: I3bd110331048bf847c57d91c24f8256d93b98c11
}
new_focus = eina_list_nth(_focus_candidates, 0);
- return _add_focus_change_event(client, new_focus);
+ if(new_focus)
+ mmi_manager_remove_client_from_focus_candidates(new_focus);
+ return _add_focus_change_event(NULL, new_focus);
}
int