view.c
changeset 417 a43c395003bc
parent 415 ad2b6ce6e95b
child 418 0f351a3e5c21
--- a/view.c	Tue Sep 05 09:37:45 2006 +0200
+++ b/view.c	Tue Sep 05 13:19:18 2006 +0200
@@ -172,7 +172,7 @@
 void
 growcol(Arg *arg)
 {
-	if(!sel || (arrange != dotile))
+	if(!sel || !clients || !clients->next || (arrange != dotile))
 		return;
 	if(sel == getnext(clients)) {
 		if(mw + arg->i > sw - 100)