avoid refocusing deleted wl clients during comp input ungrabbing

this is an error
This commit is contained in:
Mike Blumenkrantz 2017-04-14 11:48:49 -04:00
parent c37ce1cccd
commit 1cbddb6d8f
1 changed files with 1 additions and 1 deletions

View File

@ -1705,7 +1705,7 @@ e_comp_ungrab_input(Eina_Bool mouse, Eina_Bool kbd)
{
E_Client *ec = e_client_focused_get();
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
if ((!e_object_is_del(E_OBJECT(ec))) && (e_comp->comp_type == E_PIXMAP_TYPE_WL))
{
Eina_Bool mouse_in = ec->mouse.in;
int x, y;