aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2010-05-28 11:42:49 +0100
committerAnselm R Garbe <anselm@garbe.us>2010-05-28 11:42:49 +0100
commit8623bf5d196cb0bed4bdca025f23664b2bdcdd8b (patch)
treeeb87cfdd938e02ebb7d5c4c159f19c9a14a7b379
parent5bc288b2b1270957baab2142e1e8b20b796fed11 (diff)
downloaddmenu-8623bf5d196cb0bed4bdca025f23664b2bdcdd8b.tar.gz
dmenu-8623bf5d196cb0bed4bdca025f23664b2bdcdd8b.tar.bz2
dmenu-8623bf5d196cb0bed4bdca025f23664b2bdcdd8b.zip
prepared dmenu-4.1 release
-rw-r--r--LICENSE2
-rw-r--r--Makefile6
-rw-r--r--config.def.h (renamed from config.h)0
-rw-r--r--dmenu.c8
4 files changed, 10 insertions, 6 deletions
diff --git a/LICENSE b/LICENSE
index 7cd31db..f44738e 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,7 +1,7 @@
MIT/X Consortium License
© 2010 Connor Lane Smith <cls@lubutu.com>
-© 2006-2009 Anselm R. Garbe <anselm@garbe.us>
+© 2006-2010 Anselm R Garbe <anselm@garbe.us>
© 2009 Gottox <gottox@s01.de>
© 2009 Markus Schnalke <meillo@marmaro.de>
© 2009 Evan Gates <evan.gates@gmail.com>
diff --git a/Makefile b/Makefile
index e7df2d7..5ea6729 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,10 @@ options:
${OBJ}: config.h config.mk
+config.h:
+ @echo creating $@ from config.def.h
+ @cp config.def.h $@
+
dmenu: ${OBJ}
@echo CC -o $@
@${CC} -o $@ ${OBJ} ${LDFLAGS}
@@ -31,7 +35,7 @@ clean:
dist: clean
@echo creating dist tarball
@mkdir -p dmenu-${VERSION}
- @cp -R LICENSE Makefile README config.mk dmenu.1 config.h dmenu_path dmenu_run ${SRC} dmenu-${VERSION}
+ @cp -R LICENSE Makefile README config.mk dmenu.1 config.def.h dmenu_path dmenu_run ${SRC} dmenu-${VERSION}
@tar -cf dmenu-${VERSION}.tar dmenu-${VERSION}
@gzip dmenu-${VERSION}.tar
@rm -rf dmenu-${VERSION}
diff --git a/config.h b/config.def.h
index 3e6c616..3e6c616 100644
--- a/config.h
+++ b/config.def.h
diff --git a/dmenu.c b/dmenu.c
index bebc206..3fd9275 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -42,8 +42,8 @@ typedef struct {
typedef struct Item Item;
struct Item {
char *text;
- Item *next; /* traverses all items */
- Item *left, *right; /* traverses items matching current search pattern */
+ Item *next; /* traverses all items */
+ Item *left, *right; /* traverses items matching current search pattern */
};
/* forward declarations */
@@ -85,8 +85,8 @@ static unsigned int numlockmask = 0;
static Bool running = True;
static Display *dpy;
static DC dc;
-static Item *allitems = NULL; /* first of all items */
-static Item *item = NULL; /* first of pattern matching items */
+static Item *allitems = NULL; /* first of all items */
+static Item *item = NULL; /* first of pattern matching items */
static Item *sel = NULL;
static Item *next = NULL;
static Item *prev = NULL;