forked from enlightenment/enlightenment
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:
parent
19a807bdb2
commit
4178e87518
|
@ -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)
|
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))
|
if (ec->netwm.state.skip_taskbar || e_client_util_is_popup(ec))
|
||||||
skip = EINA_TRUE;
|
skip = EINA_TRUE;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue