| 15 |
|
#define MAXDEPTH 32 /* ridiculous ray tree depth */ |
| 16 |
|
|
| 17 |
|
char rtcom[] = "rtrace -h -otp -fa -x 1"; |
| 18 |
< |
char xicom[] = "x11image"; |
| 18 |
> |
char xicom[] = "x11image -f"; |
| 19 |
|
|
| 20 |
|
VIEW ourview = STDVIEW; /* view for picture */ |
| 21 |
|
int xres, yres; |
| 43 |
|
{ |
| 44 |
|
int i; |
| 45 |
|
char combuf[256]; |
| 46 |
– |
Cursor curs; |
| 46 |
|
|
| 47 |
|
progname = argv[0]; |
| 48 |
|
for (i = 1; i < argc-2; i++) |
| 174 |
|
XWindowAttributes wa; |
| 175 |
|
XColor xc; |
| 176 |
|
XGCValues gcv; |
| 177 |
< |
int pm, rx, ry, wx, wy, rw, cw; |
| 177 |
> |
int rx, ry, wx, wy; |
| 178 |
> |
Window rw, cw; |
| 179 |
> |
unsigned int pm; |
| 180 |
|
/* compute pointer location */ |
| 181 |
|
if (gwind == 0) { |
| 182 |
|
XQueryPointer(theDisplay, rwind, &rw, &gwind, |