implemented draw_client stuff

This commit is contained in:
Anselm R. Garbe
2006-07-11 23:18:30 +02:00
parent a05beb6585
commit 83d23908d3
3 changed files with 58 additions and 20 deletions

View File

@ -143,9 +143,12 @@ static void
expose(XEvent *e)
{
XExposeEvent *ev = &e->xexpose;
Client *c;
if(ev->count == 0) {
if(ev->window == barwin)
if((c = getclient(ev->window)))
draw_client(c);
else if(ev->window == barwin)
draw_bar();
}
}