author | Anselm R Garbe <garbeam@gmail.com> |
Wed, 20 Feb 2008 13:48:52 +0000 | |
changeset 1091 | 908feb1da3c4 |
parent 1090 | 09f1bf0e12ee |
child 1092 | 2c20bc278e5e |
--- a/dwm.c Wed Feb 20 08:13:41 2008 +0000 +++ b/dwm.c Wed Feb 20 13:48:52 2008 +0000 @@ -2009,11 +2009,11 @@ void zoom(const char *arg) { - Client *c; + Client *c = sel; if(!sel || !dozoom || sel->isfloating) return; - if((c = sel) == nexttiled(clients, c->monitor)) + if(c == nexttiled(clients, c->monitor)) if(!(c = nexttiled(c->next, c->monitor))) return; detach(c);