diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2008-08-02 19:12:15 +0100 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2008-08-02 19:12:15 +0100 |
| commit | b279cef670e4d0e744e50331fce7a1f4a4e73798 (patch) | |
| tree | 029a766bb3856610d060a6718c5b90b55ef92e2f | |
| parent | Added tag 5.1 for changeset ce355cea9bb8 (diff) | |
| download | dwm-b279cef670e4d0e744e50331fce7a1f4a4e73798.tar.gz dwm-b279cef670e4d0e744e50331fce7a1f4a4e73798.zip | |
made readin a config.h variable
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 1 | ||||
| -rw-r--r-- | config.mk | 2 | ||||
| -rw-r--r-- | dwm.c | 3 |
3 files changed, 3 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index 5908ed9..aafff8a 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -12,6 +12,7 @@ static unsigned int borderpx = 1; /* border pixel of windows */ | |||
| 12 | static unsigned int snap = 32; /* snap pixel */ | 12 | static unsigned int snap = 32; /* snap pixel */ |
| 13 | static Bool showbar = True; /* False means no bar */ | 13 | static Bool showbar = True; /* False means no bar */ |
| 14 | static Bool topbar = True; /* False means bottom bar */ | 14 | static Bool topbar = True; /* False means bottom bar */ |
| 15 | static Bool readin = True; /* False means do not read stdin */ | ||
| 15 | 16 | ||
| 16 | /* tagging */ | 17 | /* tagging */ |
| 17 | static const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; | 18 | static const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; |
| @@ -1,5 +1,5 @@ | |||
| 1 | # dwm version | 1 | # dwm version |
| 2 | VERSION = 5.1 | 2 | VERSION = 5.2 |
| 3 | 3 | ||
| 4 | # Customize below to fit your system | 4 | # Customize below to fit your system |
| 5 | 5 | ||
| @@ -224,7 +224,7 @@ static void (*handler[LASTEvent]) (XEvent *) = { | |||
| 224 | [UnmapNotify] = unmapnotify | 224 | [UnmapNotify] = unmapnotify |
| 225 | }; | 225 | }; |
| 226 | static Atom wmatom[WMLast], netatom[NetLast]; | 226 | static Atom wmatom[WMLast], netatom[NetLast]; |
| 227 | static Bool otherwm, readin; | 227 | static Bool otherwm; |
| 228 | static Bool running = True; | 228 | static Bool running = True; |
| 229 | static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */ | 229 | static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */ |
| 230 | static Client *clients = NULL; | 230 | static Client *clients = NULL; |
| @@ -1219,7 +1219,6 @@ run(void) { | |||
| 1219 | /* main event loop, also reads status text from stdin */ | 1219 | /* main event loop, also reads status text from stdin */ |
| 1220 | XSync(dpy, False); | 1220 | XSync(dpy, False); |
| 1221 | xfd = ConnectionNumber(dpy); | 1221 | xfd = ConnectionNumber(dpy); |
| 1222 | readin = True; | ||
| 1223 | offset = 0; | 1222 | offset = 0; |
| 1224 | len = sizeof stext - 1; | 1223 | len = sizeof stext - 1; |
| 1225 | sbuf[len] = stext[len] = '\0'; /* 0-terminator is never touched */ | 1224 | sbuf[len] = stext[len] = '\0'; /* 0-terminator is never touched */ |
