[dwm] hg tip minor modification proposals

From: Szabolcs Nagy <nszabolcs_AT_gmail.com>
Date: Mon, 5 May 2008 20:29:58 +0200

1 unnecessary space after Layout definition
2 some may need lt in their config (eg i use lt->isfloating in my
pushup/down algo)

--- a/dwm.c Mon May 05 20:06:43 2008 +0200
+++ b/dwm.c Mon May 05 20:26:51 2008 +0200
@@ -112,7 +112,7 @@
         const char *symbol;
         void (*arrange)(void);
         Bool isfloating;
-} Layout;
+} Layout;

 typedef struct {
         const char *class;
@@ -244,10 +244,12 @@
 Window root, barwin;

 /* configuration, allows nested code to access above variables */
+Layout layouts[];
+Geom geoms[];
+Layout *lt = layouts;
+Geom *geom = geoms;
 #include "config.h"
 #define TAGSZ (LENGTH(tags) * sizeof(Bool))
-Layout *lt = layouts;
-Geom *geom = geoms;
Received on Mon May 05 2008 - 20:30:00 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:37:12 UTC