18 |
|
|
19 |
|
#include "standard.h" |
20 |
|
|
21 |
– |
#include <string.h> |
21 |
|
#include <signal.h> |
23 |
– |
#include <unistd.h> |
24 |
– |
#include <sys/types.h> |
22 |
|
#include <sys/wait.h> |
23 |
|
#include <X11/Xlib.h> |
24 |
|
#include <X11/cursorfont.h> |
25 |
|
#include <X11/Xutil.h> |
26 |
|
#include <X11/Xatom.h> |
27 |
|
|
28 |
+ |
#include "paths.h" |
29 |
|
#include "color.h" |
30 |
|
#include "tonemap.h" |
31 |
|
#include "clrtab.h" |
116 |
|
char icondata[ICONSIZ*ICONSIZ/8]; /* icon bitmap data */ |
117 |
|
int iconwidth = 0, iconheight = 0; |
118 |
|
|
121 |
– |
char *progname; |
122 |
– |
|
119 |
|
char errmsg[128]; |
120 |
|
|
121 |
|
uby8 clrtab[256][3]; /* global color map */ |
164 |
|
int i; |
165 |
|
int pid; |
166 |
|
|
167 |
< |
progname = argv[0]; |
167 |
> |
fixargv0(argv[0]); /* sets global progname */ |
168 |
|
fin = stdin; |
169 |
|
|
170 |
|
for (i = 1; i < argc; i++) |