Commit 2506003

Anselm R. Garbe <arg@10kloc.org>
2006-09-05 07:20:29
hotfix
1 parent c7ae633
Changed files (1)
view.c
@@ -172,7 +172,9 @@ focusprev(Arg *arg)
 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)