discomfitor pushed a commit to branch master.

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

commit f77072444f9f2cb6ddee6ff12d4d97a307ae0fae
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Feb 23 14:55:05 2018 -0500

    fix luncher efreet event handling
    
    this does not require a bar resize, a bar refill, or any object creation.
    it only requires icon file setting.
---
 src/modules/luncher/bar.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index 486f7ee36..83831e620 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -1634,13 +1634,14 @@ static Eina_Bool
 _bar_cb_update_icons(EINA_UNUSED void *data, EINA_UNUSED int ev_type, 
EINA_UNUSED void *ev)
 {
    Instance *inst = NULL;
-   Eina_List *l = NULL;
+   Eina_List *l, *ll;
+   Icon *ic;
 
    EINA_LIST_FOREACH(luncher_instances, l, inst)
      {
         if (!inst->bar) continue;
-        if (inst->resize_job) return ECORE_CALLBACK_RENEW;
-        inst->resize_job = ecore_job_add(_bar_resize_job, inst);
+        EINA_LIST_FOREACH(inst->icons, ll, ic)
+          _bar_icon_file_set(ic, ic->desktop, eina_list_data_get(ic->clients));
      }
    return ECORE_CALLBACK_PASS_ON;
 }

-- 


Reply via email to