92 |
|
exit(1); |
93 |
|
/* loop on input */ |
94 |
|
mainloop(); |
95 |
< |
|
95 |
> |
/* close pipe and exit */ |
96 |
> |
pclose(pin); |
97 |
|
exit(0); |
98 |
|
} |
99 |
|
|
189 |
|
setvec(ipt) /* set up vector drawing for pick */ |
190 |
|
int ipt[2]; |
191 |
|
{ |
192 |
+ |
extern Window xfindwind(); |
193 |
|
XWindowAttributes wa; |
194 |
|
XColor xc; |
195 |
|
XGCValues gcv; |
198 |
|
unsigned int pm; |
199 |
|
/* compute pointer location */ |
200 |
|
if (gwind == 0 && |
201 |
< |
(gwind = xfindwind(theDisplay, rwind, picture, 2)) == 0) { |
201 |
> |
(gwind = xfindwind(theDisplay, rwind, picture, 4)) == 0) { |
202 |
|
fprintf(stderr, "%s: cannot find display window!\n", progname); |
203 |
|
exit(1); |
204 |
|
} |