diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 23:18:30 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 23:18:30 +0200 |
commit | 83d23908d3438d7f1f62533a7c8d96fc1019df55 (patch) | |
tree | 5e6cead0c83f19f95157cd9fed95aa4ccb714c5f /event.c | |
parent | a05beb6585713aeb661cf30c080e77fbfdb28867 (diff) | |
download | dwm-83d23908d3438d7f1f62533a7c8d96fc1019df55.tar.gz |
implemented draw_client stuff
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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(); } } |