reject focus-set attempt if desk flip to client's desk was rejected

in the case of recursive desk flips, toggling a desk's visibility may
erroneously send queued evas events to the client's frame object, leading
to a focus-set (mouse-based focus models) which triggers a desk flip
inside the original desk flip. this "inner" desk flip is spurious and
should be ignored
This commit is contained in:
Mike Blumenkrantz 2015-08-21 15:46:13 -04:00
parent 74d9792e89
commit 6d976ab6e3
1 changed files with 1 additions and 0 deletions

View File

@ -1562,6 +1562,7 @@ _e_comp_intercept_focus(void *data, Evas_Object *obj, Eina_Bool focus)
{
if (ec->desk->animate_count) return;
e_desk_show(ec->desk);
if (!ec->desk->visible) return;
}
}