This commit is contained in:
Anselm R. Garbe 2006-09-05 13:20:29 +02:00
parent c7ae6334b7
commit 25060031a5
1 changed files with 3 additions and 1 deletions

4
view.c
View File

@ -172,7 +172,9 @@ focusprev(Arg *arg)
void void
growcol(Arg *arg) growcol(Arg *arg)
{ {
if(!sel || !clients || !clients->next || (arrange != dotile)) Client *c = getnext(clients);
if(!sel || !c || !getnext(c->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)