diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-14 18:46:12 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-14 18:46:12 +0200 |
commit | 59b4a5e4cac68dfe6d245b8b708c3cb805f49f6d (patch) | |
tree | 666a20f5eae3ea5355b5f8587f68b024bd799a0f /event.c | |
parent | 82384e385ee19fc553148f7aa73fafdcbe40461b (diff) | |
download | dwm-59b4a5e4cac68dfe6d245b8b708c3cb805f49f6d.tar.gz |
draw bar on exposure ;)
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 4 |
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); } } |