if (((launch_id > 0) && (ai->launch_id > 0) && (ai->launch_id == launch_id)) ||
((pid > 1) && (ai->exe) && (ecore_exe_pid_get(ai->exe) == pid)))
{
+ printf("IC: ai->launch_id [%i] == launch_id [%i] | ai->exe->pid [%i] == pid [%i]\n",
+ ai->launch_id, launch_id, ecore_exe_pid_get(ai->exe), pid);
+ printf(" RET %s\n", a->name);
_e_apps_list = evas_list_remove_list(_e_apps_list, l);
_e_apps_list = evas_list_prepend(_e_apps_list, a);
return a;
char buf[4096], buf2[32];
if (!a) return 0;
- if (!startup_id)
+ if (!startup_id == 0)
{
p1 = getenv("E_STARTUP_ID");
- if (p1)
- startup_id = atoi(p1);
+ if (p1) startup_id = atoi(p1);
}
- else
- startup_id = 1;
+ startup_id++;
/* save previous env vars we need to save */
penv_display = getenv("DISPLAY");
if (penv_display) penv_display = strdup(penv_display);