about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c4
1 files changed, 3 insertions, 1 deletions
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);
 	}
 }