Commit 2506003
Changed files (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)