forked from enlightenment/enlightenment
Fix crash when exiting an xdg shell application
The focus in timer has been firing for deleted clients, this causes a NULL pointer dereference. Then again, maybe the timer should've been disabled by now...
This commit is contained in:
parent
e2eec45e3b
commit
ea3afd11c1
|
@ -594,6 +594,8 @@ _e_comp_wl_evas_cb_focus_in_timer(E_Client *ec)
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
double t;
|
double t;
|
||||||
|
|
||||||
|
if (e_object_is_del(E_OBJECT(ec))) return EINA_FALSE;
|
||||||
|
|
||||||
ec->comp_data->on_focus_timer = NULL;
|
ec->comp_data->on_focus_timer = NULL;
|
||||||
|
|
||||||
if (!e_comp_wl->kbd.focused) return EINA_FALSE;
|
if (!e_comp_wl->kbd.focused) return EINA_FALSE;
|
||||||
|
|
Loading…
Reference in New Issue