dwm-meillo

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 diff
     1.1 --- a/client.c	Thu Jul 13 01:30:55 2006 +0200
     1.2 +++ b/client.c	Thu Jul 13 01:55:54 2006 +0200
     1.3 @@ -360,7 +360,7 @@
     1.4  }
     1.5  
     1.6  static int
     1.7 -dummy_error_handler(Display *dpy, XErrorEvent *error)
     1.8 +dummy_error_handler(Display *dsply, XErrorEvent *err)
     1.9  {
    1.10  	return 0;
    1.11  }
    1.12 @@ -425,12 +425,12 @@
    1.13  		if(c->tags[i]) {
    1.14  			brush.x += brush.w;
    1.15  			brush.w = textw(&brush.font, c->tags[i]) + brush.font.height;
    1.16 -			draw(dpy, &brush, True, c->tags[i]);
    1.17 +			draw(&brush, True, c->tags[i]);
    1.18  		}
    1.19  	}
    1.20  	brush.x += brush.w;
    1.21  	brush.w = textw(&brush.font, c->name) + brush.font.height;
    1.22 -	draw(dpy, &brush, True, c->name);
    1.23 +	draw(&brush, True, c->name);
    1.24  	XCopyArea(dpy, brush.drawable, c->title, brush.gc,
    1.25  			0, 0, c->tw, c->th, 0, 0);
    1.26  	XFlush(dpy);