From 59b4a5e4cac68dfe6d245b8b708c3cb805f49f6d Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Fri, 14 Jul 2006 18:46:12 +0200 Subject: draw bar on exposure ;) --- event.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'event.c') diff --git a/event.c b/event.c index b027a3e..61dcec5 100644 --- a/event.c +++ b/event.c @@ -142,7 +142,9 @@ expose(XEvent *e) Client *c; if(ev->count == 0) { - if((c = gettitle(ev->window))) + if(barwin == ev->window) + draw_bar(); + else if((c = gettitle(ev->window))) draw_client(c); } } -- cgit v1.2.3