forked from enlightenment/enlightenment
delete x11 mouse-in job when hiding the job's client
spurious x11 mouse events will be received when activating a mouse binding which flips the active desk fix T3716
This commit is contained in:
parent
b3561d7641
commit
1fef7d04dc
|
@ -1083,6 +1083,12 @@ _e_comp_x_evas_hide_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
|
||||||
E_Client *ec = data, *tmp;
|
E_Client *ec = data, *tmp;
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
|
|
||||||
|
if (ec == mouse_client)
|
||||||
|
{
|
||||||
|
mouse_client = NULL;
|
||||||
|
E_FREE_FUNC(mouse_in_job, ecore_job_del);
|
||||||
|
}
|
||||||
|
|
||||||
if (!_e_comp_x_client_data_get(ec)) return; // already deleted, happens with internal wins
|
if (!_e_comp_x_client_data_get(ec)) return; // already deleted, happens with internal wins
|
||||||
_e_comp_x_client_hide(ec);
|
_e_comp_x_client_hide(ec);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue