diff options
-rw-r--r-- | view.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |