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 | applied a fix related to Sanders remark to growcol (diff) | |
| download | dwm-25060031a5e9a505c53d8462c087d80013ffdc16.tar.gz dwm-25060031a5e9a505c53d8462c087d80013ffdc16.zip | |
hotfix
Diffstat (limited to '')
| -rw-r--r-- | view.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -172,7 +172,9 @@ focusprev(Arg *arg) | |||
| 172 | void | 172 | void |
| 173 | growcol(Arg *arg) | 173 | growcol(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) |
