add clients to focus stack as necessary in e_client_unignore()

This commit is contained in:
Mike Blumenkrantz 2015-07-21 14:21:36 -04:00
parent 2eabf1142f
commit 21b8016c5b
1 changed files with 7 additions and 0 deletions

View File

@ -2461,6 +2461,13 @@ e_client_unignore(E_Client *ec)
if (!ec->ignored) return;
ec->ignored = 0;
if (!e_client_util_ignored_get(ec))
{
if (starting)
focus_stack = eina_list_prepend(focus_stack, ec);
else
focus_stack = eina_list_append(focus_stack, ec);
}
_e_client_event_simple(ec, E_EVENT_CLIENT_ADD);
}