aewl
changeset 55:fcbf7213d96f
continued with man page
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Fri, 14 Jul 2006 08:34:38 +0200 |
parents | a64602deac83 |
children | b72b7086c385 |
files | client.c config.mk dwm.1 event.c |
diffstat | 4 files changed, 40 insertions(+), 4 deletions(-) [+] |
line diff
1.1 --- a/client.c Thu Jul 13 21:49:55 2006 +0200 1.2 +++ b/client.c Fri Jul 14 08:34:38 2006 +0200 1.3 @@ -398,7 +398,6 @@ 1.4 c->next = *l; /* *l == nil */ 1.5 *l = c; 1.6 1.7 - XSetWindowBorderWidth(dpy, c->win, 1); 1.8 XMapRaised(dpy, c->win); 1.9 XMapRaised(dpy, c->title); 1.10 XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask, 1.11 @@ -495,6 +494,7 @@ 1.12 if(c->maxh && c->h > c->maxh) 1.13 c->h = c->maxh; 1.14 resize_title(c); 1.15 + XSetWindowBorderWidth(dpy, c->win, 1); 1.16 XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); 1.17 e.type = ConfigureNotify; 1.18 e.event = c->win;
2.1 --- a/config.mk Thu Jul 13 21:49:55 2006 +0200 2.2 +++ b/config.mk Fri Jul 14 08:34:38 2006 +0200 2.3 @@ -14,9 +14,12 @@ 2.4 LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11 2.5 2.6 # Linux/BSD 2.7 -CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ 2.8 +CFLAGS = -Os -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ 2.9 -DVERSION=\"${VERSION}\" 2.10 -LDFLAGS = -g ${LIBS} 2.11 +LDFLAGS = ${LIBS} 2.12 +#CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ 2.13 +# -DVERSION=\"${VERSION}\" 2.14 +#LDFLAGS = -g ${LIBS} 2.15 2.16 2.17 # Solaris
3.1 --- a/dwm.1 Thu Jul 13 21:49:55 2006 +0200 3.2 +++ b/dwm.1 Fri Jul 14 08:34:38 2006 +0200 3.3 @@ -12,3 +12,36 @@ 3.4 .TP 3.5 .B \-v 3.6 prints version information to stdout, then exits. 3.7 +.SS Default Key Bindings 3.8 +.TP 16 3.9 +.I Key 3.10 +.I Action 3.11 +.TP 3.12 +.B Mod1-Return 3.13 +Zoom 3.14 +.B window 3.15 +to the 3.16 +.B master 3.17 +track 3.18 +.TP 3.19 +.B Mod1-k 3.20 +Focus previous 3.21 +.B window 3.22 +.TP 3.23 +.B Mod1-j 3.24 +Focus next 3.25 +.B window 3.26 +.TP 3.27 +.B Mod1-m 3.28 +Maximize current 3.29 +.B window 3.30 +.TP 3.31 +.B Mod1-[0..n] 3.32 +Focus 3.33 +.B nth 3.34 +tag 3.35 +.TP 3.36 +.B Mod1-space 3.37 +(Re-)arrange 3.38 +.B all 3.39 +windows tiled
4.1 --- a/event.c Thu Jul 13 21:49:55 2006 +0200 4.2 +++ b/event.c Fri Jul 14 08:34:38 2006 +0200 4.3 @@ -87,7 +87,7 @@ 4.4 if(ev->value_mask & CWHeight) 4.5 c->h = ev->height; 4.6 if(ev->value_mask & CWBorderWidth) 4.7 - c->border = ev->border_width; 4.8 + c->border = 1; 4.9 gravitate(c, False); 4.10 resize(c, True); 4.11 }