diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 01:30:55 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 01:30:55 +0200 |
commit | 8b59083eb13c0712e04d9a5b6d7bf4af5913c442 (patch) | |
tree | c71ce38a84380cd619c6bf7c478dc68ae3c20f9a /event.c | |
parent | da2bbd371c522d63d737d43a127601a3fdbcb9d8 (diff) | |
download | dwm-8b59083eb13c0712e04d9a5b6d7bf4af5913c442.tar.gz |
removed unnecessary crap
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -51,7 +51,7 @@ buttonpress(XEvent *e) Client *c; if((c = getclient(ev->window))) { - raise(c); + craise(c); switch(ev->button) { default: break; @@ -147,8 +147,6 @@ expose(XEvent *e) if(ev->count == 0) { if((c = gettitle(ev->window))) draw_client(c); - else if(ev->window == barwin) - draw_bar(); } } @@ -203,10 +201,7 @@ propertynotify(XEvent *e) } if(ev->atom == XA_WM_NAME || ev->atom == net_atom[NetWMName]) { update_name(c); - if(c == stack) - draw_bar(); - else - draw_client(c); + draw_client(c); } } } |