Re: check if X is running?

1999-01-24 Thread Martin Held
it up a bit. Downside is, tho, you have to actually seperate the code for both programs, and keep them updated at the same time (or just share .c files... however you please.). Anyway. As far as detection, I dunno, but hope this helps. Do Svidonia, Martin Held [EMAIL PROTECTED

Re: check if X is running?

1999-01-24 Thread Martin Held
even give an error message. If your program doesn't require X11 to run (as in, there are some things in there that never require X), you could consider letting the user run the program even if $DISPLAY isn't set, and maybe give a warning that it hasn't, or something like that. Do Svidonia, Martin