all repos — dwm @ 42277b111018c5e83cc867b04156511aa0914bf1

my dwm build

applied Sanders tiny patches
Anselm R.Garbe arg@10ksloc.org
Tue, 08 Aug 2006 09:30:45 +0200
commit

42277b111018c5e83cc867b04156511aa0914bf1

parent

095f9e143eb1379631f6a0ffc6b923a6f7a687e2

4 files changed, 8 insertions(+), 7 deletions(-)

jump to
M MakefileMakefile

@@ -19,7 +19,7 @@ .c.o:

@echo CC $< @${CC} -c ${CFLAGS} $< -${OBJ}: dwm.h config.h +${OBJ}: dwm.h config.h config.mk config.h: @echo creating $@ from config.default.h
M config.arg.hconfig.arg.h

@@ -28,8 +28,8 @@ { MODKEY, XK_k, focusprev, { 0 } }, \

{ MODKEY, XK_l, viewnext, { 0 } }, \ { MODKEY, XK_m, togglemax, { 0 } }, \ { MODKEY, XK_p, spawn, \ - { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | \ - awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \ + { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | " \ + "awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \ { MODKEY, XK_space, togglemode, { 0 } }, \ { MODKEY, XK_Return, zoom, { 0 } }, \ { MODKEY|ControlMask, XK_1, appendtag, { .i = 0 } }, \

@@ -41,8 +41,8 @@ { MODKEY|ShiftMask, XK_3, replacetag, { .i = 2 } }, \

{ MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \ { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ { MODKEY|ShiftMask, XK_Return, spawn, \ - { .cmd = "exec urxvt -bg '#ffffea' +sb \ - -fn '-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*'" } }, \ + { .cmd = "exec urxvt -bg '#ffffea' +sb " \ + "-fn '-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*'" } }, \ }; #define RULES \
M dwm.htmldwm.html

@@ -21,7 +21,7 @@ <h3>Description</h3>

<p> dwm is a dynamic window manager for X11. </p> - <h4>Philosophy</h4> + <h4>Background</h4> <p> As founder and main developer of wmii I came to the conclusion that wmii is too clunky for my needs. I don't need so many funky features
M main.cmain.c

@@ -240,6 +240,8 @@ XMapRaised(dpy, barwin);

dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen)); dc.gc = XCreateGC(dpy, root, 0, 0); + + strcpy(stext, "dwm-"VERSION); drawstatus(); issel = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask);

@@ -248,7 +250,6 @@ wa.event_mask = SubstructureRedirectMask | EnterWindowMask | LeaveWindowMask;

wa.cursor = cursor[CurNormal]; XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa); - strcpy(stext, "dwm-"VERSION); scan(); /* main event loop, also reads status text from stdin */