In cvs.

Thanks

hisham / codewarrior

On Fri, 11 Feb 2005 22:18:13 +0100, David Odin <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> This patchlet allows e17setroot to work even if the current display
> isn't :0.0
> I often test e17 from another running X session with a startx -- :1, so
> I need e17setroot to work on every display.
> 
> -----------------------------------------------------------------
> diff -u -r1.17 e17setroot.c
> --- src/bin/e17setroot/e17setroot.c     29 Jan 2005 18:55:57 -0000      1.17
> +++ src/bin/e17setroot/e17setroot.c     11 Feb 2005 21:13:37 -0000
> @@ -311,8 +311,8 @@
>     _e_bg_bg_parseargs(argc, argv);
> 
>     if (!e_bg_no_load) {
> -      if (!e_init(":0.0")) {
> -         printf("Can't connect to enlightenment, perhaps we are not on 
> :0.0!\n");
> +      if (!e_init(getenv("DISPLAY"))) {
> +         printf("Can't connect to enlightenment, perhaps you have a wrong 
> $DISPLAY!\n");
>           return 0;
>        }
>     }
> -----------------------------------------------------------------
> 
>   Regards,
> 
>           DindinX
> 
> PS: btw, thanks to all of you building e17 so I can show it off here:
> http://dindinx.net/e.png
> 
> --
> [EMAIL PROTECTED]
> On the other hand, you have different fingers.
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
Hisham Mardam Bey
MSc (Computer Science)
http://hisham.cc/
+9613609386
Codito Ergo Sum (I Code Therefore I Am)


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to