summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:55:54 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:55:54 +0200
commitd7e17087ed2fc5eed57efa03e81460e3e41f7238 (patch)
treeefaa34fdd54e485be21c5e98f617678a61e4a9e1 /client.c
parentremoved unnecessary crap (diff)
downloaddwm-d7e17087ed2fc5eed57efa03e81460e3e41f7238.tar.gz
dwm-d7e17087ed2fc5eed57efa03e81460e3e41f7238.zip
new stuff (some warning elimination)
Diffstat (limited to 'client.c')
-rw-r--r--client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client.c b/client.c
index 46e6e83..6777473 100644
--- a/client.c
+++ b/client.c
@@ -360,7 +360,7 @@ resize(Client *c)
360} 360}
361 361
362static int 362static int
363dummy_error_handler(Display *dpy, XErrorEvent *error) 363dummy_error_handler(Display *dsply, XErrorEvent *err)
364{ 364{
365 return 0; 365 return 0;
366} 366}
@@ -425,12 +425,12 @@ draw_client(Client *c)
425 if(c->tags[i]) { 425 if(c->tags[i]) {
426 brush.x += brush.w; 426 brush.x += brush.w;
427 brush.w = textw(&brush.font, c->tags[i]) + brush.font.height; 427 brush.w = textw(&brush.font, c->tags[i]) + brush.font.height;
428 draw(dpy, &brush, True, c->tags[i]); 428 draw(&brush, True, c->tags[i]);
429 } 429 }
430 } 430 }
431 brush.x += brush.w; 431 brush.x += brush.w;
432 brush.w = textw(&brush.font, c->name) + brush.font.height; 432 brush.w = textw(&brush.font, c->name) + brush.font.height;
433 draw(dpy, &brush, True, c->name); 433 draw(&brush, True, c->name);
434 XCopyArea(dpy, brush.drawable, c->title, brush.gc, 434 XCopyArea(dpy, brush.drawable, c->title, brush.gc,
435 0, 0, c->tw, c->th, 0, 0); 435 0, 0, c->tw, c->th, 0, 0);
436 XFlush(dpy); 436 XFlush(dpy);