forked from enlightenment/enlightenment
unset E_Client->want/take_focus flags in hide callback
deferred focus should no longer be valid if a client has been hidden before the focus-set could be triggered fixes super fun infinite loop with desk flips
This commit is contained in:
parent
68da56b430
commit
0730e3853a
|
@ -1402,6 +1402,7 @@ _e_client_cb_evas_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
|
||||||
if (ec->focused)
|
if (ec->focused)
|
||||||
_e_client_revert_focus(ec);
|
_e_client_revert_focus(ec);
|
||||||
}
|
}
|
||||||
|
ec->want_focus = ec->take_focus = 0;
|
||||||
|
|
||||||
ec->post_show = 0;
|
ec->post_show = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue