On Fri, 28 Oct 2005 12:28:34 +0200 Sebastian Dransfeld <[EMAIL PROTECTED]>
babbled:

> enlightenment-cvs@lists.sourceforge.net wrote:
> > Enlightenment CVS committal
> > 
> > Author  : raster
> > Project : e17
> > Module  : apps/e
> > 
> > Dir     : e17/apps/e/src/bin
> > 
> > 
> > Modified Files:
> >     e_hints.c e_main.c 
> > 
> > 
> > Log Message:
> > 
> > 
> > actually rather pointless to unset over there. unset at startup :)
> 
> Nope. The previous was correct. The problem is that DESKTOP_STARTUP_ID 
> is exported to the system, so you can access it from a shell. So any 
> application launched from a shell after a .eap is launched from E will 
> get this startup id.

um - but thats how its supposed to work. the environemtn variable is exported
to the sub process being forked - it then gets its own copy in the child
process and thus eventually the execced process - the execced process uses this
env var to set properties on its window. it is the job of this sub process then
to unset the env var before execcing anythng else itself :) ie - thw whole
POINT of this var IS to export it to executed apps :)

> Sebastian
> 
> > 
> > ===================================================================
> > RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_hints.c,v
> > retrieving revision 1.77
> > retrieving revision 1.78
> > diff -u -3 -r1.77 -r1.78
> > --- e_hints.c       28 Oct 2005 08:32:01 -0000      1.77
> > +++ e_hints.c       28 Oct 2005 09:23:54 -0000      1.78
> > @@ -411,7 +411,6 @@
> >  
> >               id = atoi(str + 8);
> >               if (id > 0) bd->client.netwm.startup_id = id;
> > -             e_util_env_set("DESKTOP_STARTUP_ID", NULL);
> >            }
> >          free(str);
> >       }
> > ===================================================================
> > RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_main.c,v
> > retrieving revision 1.132
> > retrieving revision 1.133
> > diff -u -3 -r1.132 -r1.133
> > --- e_main.c        25 Oct 2005 22:01:50 -0000      1.132
> > +++ e_main.c        28 Oct 2005 09:23:54 -0000      1.133
> > @@ -139,6 +139,8 @@
> >     if (getenv("NOSTARTUP")) nostartup = 1;
> >     if (getenv("RESTART")) after_restart = 1;
> >     
> > +   if (getenv("DESKTOP_STARTUP_ID")) e_util_env_set("DESKTOP_STARTUP_ID",
> > NULL);
> > +   
> >     e_util_env_set("RESTART", "1");
> >  
> >     e_intl_init();
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the JBoss Inc.
> > Get Certified Today * Register for a JBoss Training Course
> > Free Certification Exam for All Training Attendees Through End of 2005
> > Visit http://www.jboss.com/services/certification for more information
> > _______________________________________________
> > enlightenment-cvs mailing list
> > enlightenment-cvs@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 2005
> Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to