summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5d3f55c)
raw | patch | inline | side by side (parent: 5d3f55c)
author | Kalle Wallin <kaw@linux.se> | |
Mon, 22 Mar 2004 12:33:26 +0000 (12:33 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Mon, 22 Mar 2004 12:33:26 +0000 (12:33 +0000) |
main.c | patch | blob | history |
index 624734004af1658e8292b93780b4564e7922a074..0a44051121436f42fab977011103f538cdb19730 100644 (file)
--- a/main.c
+++ b/main.c
}
/* set xterm title */
- printf("%c]0;%s%c", '\033', PACKAGE " v" VERSION, '\007');
+ if( getenv("DISPLAY") )
+ printf("%c]0;%s%c", '\033', PACKAGE " v" VERSION, '\007');
/* install exit function */
atexit(exit_and_cleanup);