tmade readin a config.h variable - dwm - [fork] customized build of dwm, the dy… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b279cef670e4d0e744e50331fce7a1f4a4e73798 | |
parent 6254ef9dc7d00cb1160cbe77eed2dacfa5b578c2 | |
Author: Anselm R Garbe <[email protected]> | |
Date: Sat, 2 Aug 2008 19:12:15 +0100 | |
made readin a config.h variable | |
Diffstat: | |
M config.def.h | 1 + | |
M config.mk | 2 +- | |
M dwm.c | 3 +-- | |
3 files changed, 3 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/config.def.h b/config.def.h | |
t@@ -12,6 +12,7 @@ static unsigned int borderpx = 1; /* border pi… | |
static unsigned int snap = 32; /* snap pixel */ | |
static Bool showbar = True; /* False means no bar */ | |
static Bool topbar = True; /* False means bottom bar */ | |
+static Bool readin = True; /* False means do not read std… | |
/* tagging */ | |
static const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8"… | |
diff --git a/config.mk b/config.mk | |
t@@ -1,5 +1,5 @@ | |
# dwm version | |
-VERSION = 5.1 | |
+VERSION = 5.2 | |
# Customize below to fit your system | |
diff --git a/dwm.c b/dwm.c | |
t@@ -224,7 +224,7 @@ static void (*handler[LASTEvent]) (XEvent *) = { | |
[UnmapNotify] = unmapnotify | |
}; | |
static Atom wmatom[WMLast], netatom[NetLast]; | |
-static Bool otherwm, readin; | |
+static Bool otherwm; | |
static Bool running = True; | |
static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */ | |
static Client *clients = NULL; | |
t@@ -1219,7 +1219,6 @@ run(void) { | |
/* main event loop, also reads status text from stdin */ | |
XSync(dpy, False); | |
xfd = ConnectionNumber(dpy); | |
- readin = True; | |
offset = 0; | |
len = sizeof stext - 1; | |
sbuf[len] = stext[len] = '\0'; /* 0-terminator is never touched */ |