From 6da74c5f06152267014745e2cd6c1f46267aaa17 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 14 Feb 2014 15:58:49 -0500 Subject: [PATCH] bugfix: only remove an ibar no-order icon if ALL icon's clients are skip T953 --- src/modules/ibar/e_mod_main.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index 156852d64..1caab5eee 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -2435,11 +2435,17 @@ _ibar_cb_client_prop(void *d EINA_UNUSED, int t EINA_UNUSED, E_Event_Client_Prop { IBar *b; Eina_List *l; - Eina_Bool skip; + E_Client *ec; + Eina_Bool skip = EINA_TRUE; if (e_client_util_ignored_get(ev->ec) || (!ev->ec->exe_inst) || (!ev->ec->exe_inst->desktop)) return ECORE_CALLBACK_RENEW; if (!(ev->property & E_CLIENT_PROPERTY_NETWM_STATE)) return ECORE_CALLBACK_RENEW; - skip = ev->ec->netwm.state.skip_taskbar; + EINA_LIST_FOREACH(ev->ec->exe_inst->clients, l, ec) + if (!ec->netwm.state.skip_taskbar) + { + skip = EINA_FALSE; + break; + } EINA_LIST_FOREACH(ibars, l, b) { IBar_Icon *ic;