about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.def.h1
-rw-r--r--config.mk2
-rw-r--r--dwm.c3
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 */
 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 stdin */
 
 /* tagging */
 static const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
diff --git a/config.mk b/config.mk
index 254ec53..9e4636a 100644
--- a/config.mk
+++ b/config.mk
@@ -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
index 5f3b9c9..279f831 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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;
@@ -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 */
ref='#n194'>194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262