continued with man page 72655f0c
Anselm R. Garbe · 2006-07-14 08:34 4 file(s) · +40 −4
client.c +1 −1
398 398
	c->next = *l; /* *l == nil */
399 399
	*l = c;
400 400
401 -
	XSetWindowBorderWidth(dpy, c->win, 1);
402 401
	XMapRaised(dpy, c->win);
403 402
	XMapRaised(dpy, c->title);
404 403
	XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask,
495 494
	if(c->maxh && c->h > c->maxh)
496 495
		c->h = c->maxh;
497 496
	resize_title(c);
497 +
	XSetWindowBorderWidth(dpy, c->win, 1);
498 498
	XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
499 499
	e.type = ConfigureNotify;
500 500
	e.event = c->win;
config.mk +5 −2
14 14
LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11
15 15
16 16
# Linux/BSD
17 -
CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
17 +
CFLAGS = -Os -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
18 18
	-DVERSION=\"${VERSION}\"
19 -
LDFLAGS = -g ${LIBS}
19 +
LDFLAGS = ${LIBS}
20 +
#CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
21 +
#	-DVERSION=\"${VERSION}\"
22 +
#LDFLAGS = -g ${LIBS}
20 23
21 24
22 25
# Solaris
dwm.1 +33 −0
12 12
.TP
13 13
.B \-v
14 14
prints version information to stdout, then exits.
15 +
.SS Default Key Bindings
16 +
.TP 16
17 +
.I Key	
18 +
.I Action
19 +
.TP
20 +
.B Mod1-Return
21 +
Zoom
22 +
.B window
23 +
to the 
24 +
.B master
25 +
track
26 +
.TP
27 +
.B Mod1-k
28 +
Focus previous
29 +
.B window
30 +
.TP
31 +
.B Mod1-j
32 +
Focus next
33 +
.B window
34 +
.TP
35 +
.B Mod1-m
36 +
Maximize current
37 +
.B window
38 +
.TP
39 +
.B Mod1-[0..n]
40 +
Focus
41 +
.B nth
42 +
tag
43 +
.TP
44 +
.B Mod1-space
45 +
(Re-)arrange
46 +
.B all
47 +
windows tiled
event.c +1 −1
87 87
		if(ev->value_mask & CWHeight)
88 88
			c->h = ev->height;
89 89
		if(ev->value_mask & CWBorderWidth)
90 -
			c->border = ev->border_width;
90 +
			c->border = 1;
91 91
		gravitate(c, False);
92 92
		resize(c, True);
93 93
	}