Anselm R. Garbe 19 年之前
父節點
當前提交
25060031a5
共有 1 個文件被更改,包括 3 次插入1 次删除
  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)