author | Anselm R. Garbe <arg@10kloc.org> |
Tue, 05 Sep 2006 13:20:29 +0200 | |
changeset 418 | 0f351a3e5c21 |
parent 417 | a43c395003bc |
child 419 | 7a65674a0fd7 |
--- a/view.c Tue Sep 05 13:19:18 2006 +0200 +++ b/view.c Tue Sep 05 13:20:29 2006 +0200 @@ -172,7 +172,9 @@ void growcol(Arg *arg) { - if(!sel || !clients || !clients->next || (arrange != dotile)) + Client *c = getnext(clients); + + if(!sel || !c || !getnext(c->next) || (arrange != dotile)) return; if(sel == getnext(clients)) { if(mw + arg->i > sw - 100)