8 |
|
*/ |
9 |
|
|
10 |
|
#include "standard.h" |
11 |
+ |
#include "paths.h" |
12 |
|
|
12 |
– |
#include <unistd.h> |
13 |
|
#include <signal.h> |
14 |
|
#include <X11/Xlib.h> |
15 |
|
#include <X11/Xutil.h> |
27 |
|
VIEW ourview = STDVIEW; /* view for picture */ |
28 |
|
RESOLU pres; /* picture resolution */ |
29 |
|
|
30 |
– |
char *progname; /* program name */ |
31 |
– |
|
30 |
|
Display *theDisplay = NULL; /* connection to server */ |
31 |
|
|
32 |
|
#define rwind RootWindow(theDisplay,ourScreen) |
50 |
|
char *windowname = NULL; |
51 |
|
FILE *fp; |
52 |
|
|
53 |
< |
progname = *argv++; argc--; |
53 |
> |
fixargv0(*argv++); argc--; |
54 |
|
while (argc > 0 && argv[0][0] == '-') { |
55 |
|
switch (argv[0][1]) { |
56 |
|
case 'n': |