use last client from E_Exec_Instance list when updating luncher popups

the last client is the most recently-added

fix T6288
This commit is contained in:
Mike Blumenkrantz 2017-11-06 14:21:11 -05:00
parent 3fc4e337e7
commit 2f3d1473cf
1 changed files with 1 additions and 1 deletions

View File

@ -1403,7 +1403,7 @@ _bar_cb_exec_new(void *data EINA_UNUSED, int type, E_Exec_Instance *ex)
if (type == E_EVENT_EXEC_NEW_CLIENT)
{
ec = eina_list_data_get(ex->clients);
ec = eina_list_last_data_get(ex->clients);
if (ec->netwm.state.skip_taskbar || e_client_util_is_popup(ec))
skip = EINA_TRUE;
else