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:
Mike Blumenkrantz 2015-08-18 18:18:12 -04:00
parent 68da56b430
commit 0730e3853a
1 changed files with 1 additions and 0 deletions

View File

@ -1402,6 +1402,7 @@ _e_client_cb_evas_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
if (ec->focused)
_e_client_revert_focus(ec);
}
ec->want_focus = ec->take_focus = 0;
ec->post_show = 0;