view.c
changeset 417 a43c395003bc
parent 415 ad2b6ce6e95b
child 418 0f351a3e5c21
equal deleted inserted replaced
416:e689e540607a 417:a43c395003bc
   170 }
   170 }
   171 
   171 
   172 void
   172 void
   173 growcol(Arg *arg)
   173 growcol(Arg *arg)
   174 {
   174 {
   175 	if(!sel || (arrange != dotile))
   175 	if(!sel || !clients || !clients->next || (arrange != dotile))
   176 		return;
   176 		return;
   177 	if(sel == getnext(clients)) {
   177 	if(sel == getnext(clients)) {
   178 		if(mw + arg->i > sw - 100)
   178 		if(mw + arg->i > sw - 100)
   179 			return;
   179 			return;
   180 		mw += arg->i;
   180 		mw += arg->i;