summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-08-02 19:12:15 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-08-02 19:12:15 +0100
commitb279cef670e4d0e744e50331fce7a1f4a4e73798 (patch)
tree029a766bb3856610d060a6718c5b90b55ef92e2f /dwm.c
parentAdded tag 5.1 for changeset ce355cea9bb8 (diff)
downloaddwm-b279cef670e4d0e744e50331fce7a1f4a4e73798.tar.gz
dwm-b279cef670e4d0e744e50331fce7a1f4a4e73798.zip
made readin a config.h variable
Diffstat (limited to '')
-rw-r--r--dwm.c3
1 files changed, 1 insertions, 2 deletions
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 *) = {
224 [UnmapNotify] = unmapnotify 224 [UnmapNotify] = unmapnotify
225}; 225};
226static Atom wmatom[WMLast], netatom[NetLast]; 226static Atom wmatom[WMLast], netatom[NetLast];
227static Bool otherwm, readin; 227static Bool otherwm;
228static Bool running = True; 228static Bool running = True;
229static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */ 229static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */
230static Client *clients = NULL; 230static 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 */