break when finding a non-skip new ibar exec

This commit is contained in:
Mike Blumenkrantz 2014-02-14 15:57:33 -05:00
parent 9419f687aa
commit de7d818f99
1 changed files with 4 additions and 1 deletions

View File

@ -2575,7 +2575,10 @@ _ibar_cb_exec_new(void *d EINA_UNUSED, int t EINA_UNUSED, E_Exec_Instance *exe)
if (!exe->desktop->icon) return ECORE_CALLBACK_RENEW;
EINA_LIST_FOREACH(exe->clients, l, ec)
if (!ec->netwm.state.skip_taskbar)
skip = EINA_FALSE;
{
skip = EINA_FALSE;
break;
}
EINA_LIST_FOREACH(ibars, l, b)
{
IBar_Icon *ic;