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 5b2cb3ddc7
commit 1faf199f45
1 changed files with 1 additions and 1 deletions

View File

@ -1661,7 +1661,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);
}
}