don't refocus deleted clients during wl compositor grab

This commit is contained in:
Mike Blumenkrantz 2016-05-03 20:24:23 -04:00
parent 53e0bf08bc
commit 69370250d1
1 changed files with 1 additions and 1 deletions

View File

@ -1666,7 +1666,7 @@ e_comp_grab_input(Eina_Bool mouse, Eina_Bool kbd)
e_comp->input_key_grabs += kbd;
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
{
if (ec)
if (ec && (!e_object_is_del(E_OBJECT(ec))))
evas_object_focus_set(ec->frame, 1);
}
}