about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--config.mk10
-rw-r--r--event.c4
3 files changed, 9 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 2b243ef..536960b 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ dwm: ${OBJ}
 	@${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}
diff --git a/config.mk b/config.mk
index 96ef58a..dcea1f8 100644
--- a/config.mk
+++ b/config.mk
@@ -14,12 +14,12 @@ VERSION = 0.1
 LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11
 
 # Linux/BSD
-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} \
+#CFLAGS = -Os -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
 #	-DVERSION=\"${VERSION}\"
-#LDFLAGS = -g ${LIBS}
+#LDFLAGS = ${LIBS}
+CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
+	-DVERSION=\"${VERSION}\"
+LDFLAGS = -g ${LIBS}
 
 
 # Solaris
diff --git a/event.c b/event.c
index b027a3e..61dcec5 100644
--- a/event.c
+++ b/event.c
@@ -142,7 +142,9 @@ expose(XEvent *e)
 	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);
 	}
 }
00 split db-specific funcs into separate files' href='/gbmor/getwtxt/commit/svc/db.go?h=v0.4.1&id=a5a32e7a317dd5cf156e52a71d7be432d0594bf7'>a5a32e7 ^
78f4d8a ^
439695f ^


78f4d8a ^
e9d4a6b ^
439695f ^
439695f ^
439695f ^
1a15258 ^
439695f ^

1a15258 ^
c8fddff ^








1a15258 ^
c8fddff ^
e9d4a6b ^
c8fddff ^

930ef34 ^

e9d4a6b ^
c8fddff ^

1a15258 ^
c8fddff ^
c8fddff ^
e9d4a6b ^
c8fddff ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62