summaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-05 13:19:18 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-05 13:19:18 +0200
commitc7ae6334b7f0e8ac1fbc4da977fef4b92792767b (patch)
treeecff4cad3dda5cfe24cdd1813d87ee6ffb334f9a /view.c
parenteac04882b40595d724f4578b5acec5f22df570e3 (diff)
applied a fix related to Sanders remark to growcol
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index dc10e5eb..f1be6092 100644
--- 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)