Mercurial > aewl
diff client.c @ 33:e90449e03167
new stuff (some warning elimination)
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Thu, 13 Jul 2006 01:55:54 +0200 |
parents | 082c75b937b5 |
children | cd30cce52b78 |
line wrap: on
line diff
--- a/client.c Thu Jul 13 01:30:55 2006 +0200 +++ b/client.c Thu Jul 13 01:55:54 2006 +0200 @@ -360,7 +360,7 @@ } static int -dummy_error_handler(Display *dpy, XErrorEvent *error) +dummy_error_handler(Display *dsply, XErrorEvent *err) { return 0; } @@ -425,12 +425,12 @@ if(c->tags[i]) { brush.x += brush.w; brush.w = textw(&brush.font, c->tags[i]) + brush.font.height; - draw(dpy, &brush, True, c->tags[i]); + draw(&brush, True, c->tags[i]); } } brush.x += brush.w; brush.w = textw(&brush.font, c->name) + brush.font.height; - draw(dpy, &brush, True, c->name); + draw(&brush, True, c->name); XCopyArea(dpy, brush.drawable, c->title, brush.gc, 0, 0, c->tw, c->th, 0, 0); XFlush(dpy);