applied a fix related to Sanders remark to growcol

This commit is contained in:
Anselm R. Garbe 2006-09-05 13:19:18 +02:00
parent eac04882b4
commit c7ae6334b7

2
view.c
View file

@ -172,7 +172,7 @@ focusprev(Arg *arg)
void void
growcol(Arg *arg) growcol(Arg *arg)
{ {
if(!sel || (arrange != dotile)) if(!sel || !clients || !clients->next || (arrange != dotile))
return; return;
if(sel == getnext(clients)) { if(sel == getnext(clients)) {
if(mw + arg->i > sw - 100) if(mw + arg->i > sw - 100)