aewl

changeset 70:e5fff8249705

draw bar on exposure ;)
author Anselm R. Garbe <garbeam@wmii.de>
date Fri, 14 Jul 2006 18:46:12 +0200
parents cc68153c9a8a
children 7681ef838201
files Makefile config.mk event.c
diffstat 3 files changed, 9 insertions(+), 7 deletions(-) [+]
line diff
     1.1 --- a/Makefile	Fri Jul 14 18:40:36 2006 +0200
     1.2 +++ b/Makefile	Fri Jul 14 18:46:12 2006 +0200
     1.3 @@ -29,7 +29,7 @@
     1.4  	@${CC} -o $@ ${OBJ} ${LDFLAGS}
     1.5  
     1.6  clean:
     1.7 -	rm -f dwm *.o core
     1.8 +	rm -f dwm *.o core dwm-${VERSION}.tar.gz
     1.9  
    1.10  dist: clean
    1.11  	mkdir -p dwm-${VERSION}
     2.1 --- a/config.mk	Fri Jul 14 18:40:36 2006 +0200
     2.2 +++ b/config.mk	Fri Jul 14 18:46:12 2006 +0200
     2.3 @@ -14,12 +14,12 @@
     2.4  LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11
     2.5  
     2.6  # Linux/BSD
     2.7 -CFLAGS = -Os -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 = ${LIBS}
    2.11 +CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
    2.12  	-DVERSION=\"${VERSION}\"
    2.13 -LDFLAGS = ${LIBS}
    2.14 -#CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
    2.15 -#	-DVERSION=\"${VERSION}\"
    2.16 -#LDFLAGS = -g ${LIBS}
    2.17 +LDFLAGS = -g ${LIBS}
    2.18  
    2.19  
    2.20  # Solaris
     3.1 --- a/event.c	Fri Jul 14 18:40:36 2006 +0200
     3.2 +++ b/event.c	Fri Jul 14 18:46:12 2006 +0200
     3.3 @@ -142,7 +142,9 @@
     3.4  	Client *c;
     3.5  
     3.6  	if(ev->count == 0) {
     3.7 -		if((c = gettitle(ev->window)))
     3.8 +		if(barwin == ev->window)
     3.9 +			draw_bar();
    3.10 +		else if((c = gettitle(ev->window)))
    3.11  			draw_client(c);
    3.12  	}
    3.13  }