about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.mk4
-rw-r--r--dwm.c9
2 files changed, 4 insertions, 9 deletions
diff --git a/config.mk b/config.mk
index 96811e0..b63e2ca 100644
--- a/config.mk
+++ b/config.mk
@@ -17,8 +17,8 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
 # flags
 CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
 LDFLAGS = -s ${LIBS}
-CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DWORK
-LDFLAGS = -g ${LIBS}
+#CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DWORK
+#LDFLAGS = -g ${LIBS}
 
 # Solaris
 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
diff --git a/dwm.c b/dwm.c
index a122180..2efc50b 100644
--- a/dwm.c
+++ b/dwm.c
@@ -183,15 +183,12 @@ int xerror(Display *dpy, XErrorEvent *ee);
 int xerrordummy(Display *dpy, XErrorEvent *ee);
 int xerrorstart(Display *dpy, XErrorEvent *ee);
 void zoom(const char *arg);
-void selectview(const char *arg);
 
 /* variables */
 char stext[256], buf[256];
-double mwfact;
 int screen, sx, sy, sw, sh;
 int (*xerrorxlib)(Display *, XErrorEvent *);
-unsigned int bh, bpos;
-unsigned int blw = 0;
+unsigned int bh, blw = 0;
 unsigned int numlockmask = 0;
 void (*handler[LASTEvent]) (XEvent *) = {
 	[ButtonPress] = buttonpress,
@@ -219,7 +216,7 @@ Client *stack = NULL;
 Cursor cursor[CurLast];
 Display *dpy;
 DC dc = {0};
-Layout *lt;
+Layout *lt = NULL;
 Window root, barwin;
 
 /* configuration, allows nested code to access above variables */
@@ -362,7 +359,6 @@ checkotherwm(void) {
 
 void
 cleanup(void) {
-
 	close(STDIN_FILENO);
 	while(stack) {
 		unban(stack);
@@ -372,7 +368,6 @@ cleanup(void) {
 		XFreeFontSet(dpy, dc.font.set);
 	else
 		XFreeFont(dpy, dc.font.xfont);
-
 	XUngrabKey(dpy, AnyKey, AnyModifier, root);
 	XFreePixmap(dpy, dc.drawable);
 	XFreeGC(dpy, dc.gc);
='Blame the previous revision' href='/akkartik/mu/blame/continuation5.mu?h=hlt&id=ef7d834fdd826977cd8d43253052a7b8e1c5aa72'>^
3b776ac3 ^

01ce563d ^
3b776ac3 ^



5059f32d ^
3b776ac3 ^

5059f32d ^
dd660682 ^
3b776ac3 ^
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