all repos — dwm @ 59b4a5e4cac68dfe6d245b8b708c3cb805f49f6d

my dwm build

draw bar on exposure ;)
Anselm R. Garbe garbeam@wmii.de
Fri, 14 Jul 2006 18:46:12 +0200
commit

59b4a5e4cac68dfe6d245b8b708c3cb805f49f6d

parent

82384e385ee19fc553148f7aa73fafdcbe40461b

3 files changed, 9 insertions(+), 7 deletions(-)

jump to
M MakefileMakefile

@@ -29,7 +29,7 @@ @echo LD $@

@${CC} -o $@ ${OBJ} ${LDFLAGS} clean: - rm -f dwm *.o core + rm -f dwm *.o core dwm-${VERSION}.tar.gz dist: clean mkdir -p dwm-${VERSION}
M config.mkconfig.mk

@@ -14,12 +14,12 @@ # includes and libs

LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11 # Linux/BSD -CFLAGS = -Os -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ - -DVERSION=\"${VERSION}\" -LDFLAGS = ${LIBS} -#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
M event.cevent.c

@@ -142,7 +142,9 @@ XExposeEvent *ev = &e->xexpose;

Client *c; if(ev->count == 0) { - if((c = gettitle(ev->window))) + if(barwin == ev->window) + draw_bar(); + else if((c = gettitle(ev->window))) draw_client(c); } }