aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-23 14:55:05 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-23 14:55:05 -0500
commitf77072444f9f2cb6ddee6ff12d4d97a307ae0fae (patch)
tree9456a8093c81f54b0913a734b016cc6569af6389
parentset E_GADGET_ANCHOR env var corresponding to the gadget sites anchor (diff)
downloadenlightenment-f77072444f9f2cb6ddee6ff12d4d97a307ae0fae.tar.gz
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.
-rw-r--r--src/modules/luncher/bar.c7
1 files 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;
}