diff options
| author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-14 18:46:12 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-14 18:46:12 +0200 |
| commit | 59b4a5e4cac68dfe6d245b8b708c3cb805f49f6d (patch) | |
| tree | 666a20f5eae3ea5355b5f8587f68b024bd799a0f | |
| parent | Added tag 0.1 for changeset d31b5ad96b0ba7b5b0a30928fcf000428339a577 (diff) | |
| download | dwm-59b4a5e4cac68dfe6d245b8b708c3cb805f49f6d.tar.gz dwm-59b4a5e4cac68dfe6d245b8b708c3cb805f49f6d.zip | |
draw bar on exposure ;)
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | config.mk | 10 | ||||
| -rw-r--r-- | event.c | 4 |
3 files changed, 9 insertions, 7 deletions
| @@ -29,7 +29,7 @@ dwm: ${OBJ} | |||
| 29 | @${CC} -o $@ ${OBJ} ${LDFLAGS} | 29 | @${CC} -o $@ ${OBJ} ${LDFLAGS} |
| 30 | 30 | ||
| 31 | clean: | 31 | clean: |
| 32 | rm -f dwm *.o core | 32 | rm -f dwm *.o core dwm-${VERSION}.tar.gz |
| 33 | 33 | ||
| 34 | dist: clean | 34 | dist: clean |
| 35 | mkdir -p dwm-${VERSION} | 35 | mkdir -p dwm-${VERSION} |
| @@ -14,12 +14,12 @@ VERSION = 0.1 | |||
| 14 | LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11 | 14 | LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11 |
| 15 | 15 | ||
| 16 | # Linux/BSD | 16 | # Linux/BSD |
| 17 | CFLAGS = -Os -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ | 17 | #CFLAGS = -Os -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ |
| 18 | -DVERSION=\"${VERSION}\" | ||
| 19 | LDFLAGS = ${LIBS} | ||
| 20 | #CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ | ||
| 21 | # -DVERSION=\"${VERSION}\" | 18 | # -DVERSION=\"${VERSION}\" |
| 22 | #LDFLAGS = -g ${LIBS} | 19 | #LDFLAGS = ${LIBS} |
| 20 | CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ | ||
| 21 | -DVERSION=\"${VERSION}\" | ||
| 22 | LDFLAGS = -g ${LIBS} | ||
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | # Solaris | 25 | # Solaris |
| @@ -142,7 +142,9 @@ expose(XEvent *e) | |||
| 142 | Client *c; | 142 | Client *c; |
| 143 | 143 | ||
| 144 | if(ev->count == 0) { | 144 | if(ev->count == 0) { |
| 145 | if((c = gettitle(ev->window))) | 145 | if(barwin == ev->window) |
| 146 | draw_bar(); | ||
| 147 | else if((c = gettitle(ev->window))) | ||
| 146 | draw_client(c); | 148 | draw_client(c); |
| 147 | } | 149 | } |
| 148 | } | 150 | } |
