--- a/Makefile Fri Jul 14 18:40:36 2006 +0200
+++ b/Makefile Fri Jul 14 18:46:12 2006 +0200
@@ -29,7 +29,7 @@
@${CC} -o $@ ${OBJ} ${LDFLAGS}
clean:
- rm -f dwm *.o core
+ rm -f dwm *.o core dwm-${VERSION}.tar.gz
dist: clean
mkdir -p dwm-${VERSION}
--- a/config.mk Fri Jul 14 18:40:36 2006 +0200
+++ b/config.mk Fri Jul 14 18:46:12 2006 +0200
@@ -14,12 +14,12 @@
LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11
# Linux/BSD
-CFLAGS = -Os -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
+#CFLAGS = -Os -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
+# -DVERSION=\"${VERSION}\"
+#LDFLAGS = ${LIBS}
+CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
-DVERSION=\"${VERSION}\"
-LDFLAGS = ${LIBS}
-#CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
-# -DVERSION=\"${VERSION}\"
-#LDFLAGS = -g ${LIBS}
+LDFLAGS = -g ${LIBS}
# Solaris
--- a/event.c Fri Jul 14 18:40:36 2006 +0200
+++ b/event.c Fri Jul 14 18:46:12 2006 +0200
@@ -142,7 +142,9 @@
Client *c;
if(ev->count == 0) {
- if((c = gettitle(ev->window)))
+ if(barwin == ev->window)
+ draw_bar();
+ else if((c = gettitle(ev->window)))
draw_client(c);
}
}