Skip to content
Snippets Groups Projects
Commit 59b4a5e4 authored by Anselm R. Garbe's avatar Anselm R. Garbe
Browse files

draw bar on exposure ;)

parent 82384e38
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ dwm: ${OBJ}
@${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}
......
......@@ -14,12 +14,12 @@ VERSION = 0.1
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
......
......@@ -142,7 +142,9 @@ expose(XEvent *e)
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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment