Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_zone.c 


Log Message:


startupid incriment early - id of 0 != valid

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_zone.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -3 -r1.81 -r1.82
--- e_zone.c    5 Oct 2005 10:38:59 -0000       1.81
+++ e_zone.c    5 Oct 2005 13:31:56 -0000       1.82
@@ -543,6 +543,7 @@
        p1 = getenv("E_STARTUP_ID");
        if (p1) startup_id = atoi(p1);
      }
+   startup_id++;
    /* save previous env vars we need to save */
    penv_display = getenv("DISPLAY");
    if (penv_display) penv_display = strdup(penv_display);
@@ -592,7 +593,6 @@
    e_util_env_set("DESKTOP_STARTUP_ID", buf);
    /* execute */
    ret = e_app_exec(a, startup_id);
-   if (++startup_id < 1) startup_id = 1;
  
    /* reset env vars */
    if (penv_display)




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to