forked from enlightenment/enlightenment
weird icons are because startup id was broken!
SVN revision: 17188
This commit is contained in:
parent
e4c7ca2f72
commit
67d7ddaf16
|
@ -635,6 +635,9 @@ e_app_launch_id_pid_find(int launch_id, pid_t pid)
|
|||
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;
|
||||
|
|
|
@ -538,14 +538,12 @@ e_zone_app_exec(E_Zone *zone, E_App *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);
|
||||
|
|
Loading…
Reference in New Issue