Mercurial > aewl
changeset 55:fcbf7213d96f
continued with man page
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Fri, 14 Jul 2006 08:34:38 +0200 (2006-07-14) |
parents | a64602deac83 |
children | b72b7086c385 |
files | client.c config.mk dwm.1 event.c |
diffstat | 4 files changed, 40 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/client.c Thu Jul 13 21:49:55 2006 +0200 +++ b/client.c Fri Jul 14 08:34:38 2006 +0200 @@ -398,7 +398,6 @@ c->next = *l; /* *l == nil */ *l = c; - XSetWindowBorderWidth(dpy, c->win, 1); XMapRaised(dpy, c->win); XMapRaised(dpy, c->title); XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask, @@ -495,6 +494,7 @@ if(c->maxh && c->h > c->maxh) c->h = c->maxh; resize_title(c); + XSetWindowBorderWidth(dpy, c->win, 1); XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); e.type = ConfigureNotify; e.event = c->win;
--- a/config.mk Thu Jul 13 21:49:55 2006 +0200 +++ b/config.mk Fri Jul 14 08:34:38 2006 +0200 @@ -14,9 +14,12 @@ LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11 # Linux/BSD -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
--- a/dwm.1 Thu Jul 13 21:49:55 2006 +0200 +++ b/dwm.1 Fri Jul 14 08:34:38 2006 +0200 @@ -12,3 +12,36 @@ .TP .B \-v prints version information to stdout, then exits. +.SS Default Key Bindings +.TP 16 +.I Key +.I Action +.TP +.B Mod1-Return +Zoom +.B window +to the +.B master +track +.TP +.B Mod1-k +Focus previous +.B window +.TP +.B Mod1-j +Focus next +.B window +.TP +.B Mod1-m +Maximize current +.B window +.TP +.B Mod1-[0..n] +Focus +.B nth +tag +.TP +.B Mod1-space +(Re-)arrange +.B all +windows tiled