made readin a config.h variable
b279cef6
3 file(s) · +3 −3
| 12 | 12 | static unsigned int snap = 32; /* snap pixel */ |
|
| 13 | 13 | static Bool showbar = True; /* False means no bar */ |
|
| 14 | 14 | static Bool topbar = True; /* False means bottom bar */ |
|
| 15 | + | static Bool readin = True; /* False means do not read stdin */ |
|
| 15 | 16 | ||
| 16 | 17 | /* tagging */ |
|
| 17 | 18 | static const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; |
| 1 | 1 | # dwm version |
|
| 2 | - | VERSION = 5.1 |
|
| 2 | + | VERSION = 5.2 |
|
| 3 | 3 | ||
| 4 | 4 | # Customize below to fit your system |
|
| 5 | 5 |
| 224 | 224 | [UnmapNotify] = unmapnotify |
|
| 225 | 225 | }; |
|
| 226 | 226 | static Atom wmatom[WMLast], netatom[NetLast]; |
|
| 227 | - | static Bool otherwm, readin; |
|
| 227 | + | static Bool otherwm; |
|
| 228 | 228 | static Bool running = True; |
|
| 229 | 229 | static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */ |
|
| 230 | 230 | static Client *clients = NULL; |
|
| 1219 | 1219 | /* main event loop, also reads status text from stdin */ |
|
| 1220 | 1220 | XSync(dpy, False); |
|
| 1221 | 1221 | xfd = ConnectionNumber(dpy); |
|
| 1222 | - | readin = True; |
|
| 1223 | 1222 | offset = 0; |
|
| 1224 | 1223 | len = sizeof stext - 1; |
|
| 1225 | 1224 | sbuf[len] = stext[len] = '\0'; /* 0-terminator is never touched */ |
|