discomfitor pushed a commit to branch enlightenment-0.22.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=2f3d1473cf25b861dd27b1830f71adeefafd6c86

commit 2f3d1473cf25b861dd27b1830f71adeefafd6c86
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Nov 6 14:21:11 2017 -0500

    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

-- 


Reply via email to