From 2f3d1473cf25b861dd27b1830f71adeefafd6c86 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 6 Nov 2017 14:21:11 -0500 Subject: [PATCH] use last client from E_Exec_Instance list when updating luncher popups the last client is the most recently-added fix T6288 --- src/modules/luncher/bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c index 58c0f07c1..68b2057a2 100644 --- a/src/modules/luncher/bar.c +++ b/src/modules/luncher/bar.c @@ -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