Anselm R. Garbe hace 19 años
padre
commit
25060031a5
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      view.c

+ 3 - 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)