[hackers] [dwm] made readin a config.h variable || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Sat, 2 Aug 2008 18:12:26 +0000 (UTC)

changeset: 1317:40cd44593977
tag: tip
user: Anselm R Garbe <garbeam_AT_gmail.com>
date: Sat Aug 02 19:12:15 2008 +0100
files: config.def.h config.mk dwm.c
description:
made readin a config.h variable

diff -r e1e92a3ec86d -r 40cd44593977 config.def.h
--- a/config.def.h Tue Jul 29 19:19:00 2008 +0100
+++ b/config.def.h Sat Aug 02 19:12:15 2008 +0100
@@ -12,6 +12,7 @@
 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 -r e1e92a3ec86d -r 40cd44593977 config.mk
--- a/config.mk Tue Jul 29 19:19:00 2008 +0100
+++ b/config.mk Sat Aug 02 19:12:15 2008 +0100
@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 5.1
+VERSION = 5.2
 
 # Customize below to fit your system
 
diff -r e1e92a3ec86d -r 40cd44593977 dwm.c
--- a/dwm.c Tue Jul 29 19:19:00 2008 +0100
+++ b/dwm.c Sat Aug 02 19:12:15 2008 +0100
@@ -224,7 +224,7 @@
         [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 @@
         /* 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 */
Received on Sat Aug 02 2008 - 18:12:26 UTC

This archive was generated by hypermail 2.2.0 : Sat Aug 02 2008 - 18:24:03 UTC