summaryrefslogtreecommitdiffstats
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/view.c b/view.c
index f1be609..8f5ad64 100644
--- a/view.c
+++ b/view.c
@@ -172,7 +172,9 @@ focusprev(Arg *arg)
172void 172void
173growcol(Arg *arg) 173growcol(Arg *arg)
174{ 174{
175 if(!sel || !clients || !clients->next || (arrange != dotile)) 175 Client *c = getnext(clients);
176
177 if(!sel || !c || !getnext(c->next) || (arrange != dotile))
176 return; 178 return;
177 if(sel == getnext(clients)) { 179 if(sel == getnext(clients)) {
178 if(mw + arg->i > sw - 100) 180 if(mw + arg->i > sw - 100)