diff options
author | Anselm R. Garbe <arg@10kloc.org> | 2006-09-05 13:20:29 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@10kloc.org> | 2006-09-05 13:20:29 +0200 |
commit | 25060031a5e9a505c53d8462c087d80013ffdc16 (patch) | |
tree | 9d7f81f980a0b146bb608834b4760f2b2aed9b88 /view.c | |
parent | c7ae6334b7f0e8ac1fbc4da977fef4b92792767b (diff) | |
download | dwm-25060031a5e9a505c53d8462c087d80013ffdc16.tar.gz |
hotfix
Diffstat (limited to 'view.c')
-rw-r--r-- | view.c | 4 |
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) 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) |