aewl

diff view.c @ 417:a43c395003bc

applied a fix related to Sanders remark to growcol
author Anselm R. Garbe <arg@10kloc.org>
date Tue, 05 Sep 2006 13:19:18 +0200
parents ad2b6ce6e95b
children 0f351a3e5c21
line diff
     1.1 --- a/view.c	Tue Sep 05 09:37:45 2006 +0200
     1.2 +++ b/view.c	Tue Sep 05 13:19:18 2006 +0200
     1.3 @@ -172,7 +172,7 @@
     1.4  void
     1.5  growcol(Arg *arg)
     1.6  {
     1.7 -	if(!sel || (arrange != dotile))
     1.8 +	if(!sel || !clients || !clients->next || (arrange != dotile))
     1.9  		return;
    1.10  	if(sel == getnext(clients)) {
    1.11  		if(mw + arg->i > sw - 100)