JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied a fix related to Sanders remark to growcol
authorAnselm R. Garbe <arg@10kloc.org>
Tue, 5 Sep 2006 11:19:18 +0000 (13:19 +0200)
committerAnselm R. Garbe <arg@10kloc.org>
Tue, 5 Sep 2006 11:19:18 +0000 (13:19 +0200)
view.c

diff --git a/view.c b/view.c
index dc10e5e..f1be609 100644 (file)
--- a/view.c
+++ b/view.c
@@ -172,7 +172,7 @@ focusprev(Arg *arg)
 void
 growcol(Arg *arg)
 {
-       if(!sel || (arrange != dotile))
+       if(!sel || !clients || !clients->next || (arrange != dotile))
                return;
        if(sel == getnext(clients)) {
                if(mw + arg->i > sw - 100)