if (ev->cur_focus)
{
r = client_manager_send_focus_event(ev->cur_focus, &arg);
+ client_manager_set_client_has_focus(ev->cur_focus, false);
if (r)
LOGE("Failed to send focus event(=%d) to client(%p) !\n",
MMI_EVENT_FOCUS_TYPE_OUT, ev->cur_focus);
if (ev->new_focus)
{
r = client_manager_send_focus_event(ev->new_focus, &arg);
+ client_manager_set_client_has_focus(ev->new_focus, true);
if (r)
LOGE("Failed to send focus event(=%d) to client(%p) !\n",
MMI_EVENT_FOCUS_TYPE_IN, ev->new_focus);