summaryrefslogtreecommitdiff
path: root/src/modules/ibar/e_mod_main.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-02-14 15:58:49 -0500
committerMike Blumenkrantz <zmike@samsung.com>2014-02-14 15:58:49 -0500
commit6da74c5f06152267014745e2cd6c1f46267aaa17 (patch)
tree846e358081300cd981367a69fa5c4814f4820c97 /src/modules/ibar/e_mod_main.c
parentde7d818f994d183f9e5a00b14ae2ece50ad5c8ad (diff)
downloadenlightenment-6da74c5f06152267014745e2cd6c1f46267aaa17.tar.gz
bugfix: only remove an ibar no-order icon if ALL icon's clients are skip
T953
Diffstat (limited to 'src/modules/ibar/e_mod_main.c')
-rw-r--r--src/modules/ibar/e_mod_main.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c
index 156852d645..1caab5eeea 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;