From 83d23908d3438d7f1f62533a7c8d96fc1019df55 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Tue, 11 Jul 2006 23:18:30 +0200 Subject: implemented draw_client stuff --- event.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'event.c') diff --git a/event.c b/event.c index 84b0698c..f29038a0 100644 --- a/event.c +++ b/event.c @@ -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(); } } -- cgit v1.2.3