diff options
Diffstat (limited to 'client.c')
| -rw-r--r-- | client.c | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -66,8 +66,8 @@ focusnext(Arg *arg) | |||
| 66 | if(!sel) | 66 | if(!sel) |
| 67 | return; | 67 | return; |
| 68 | 68 | ||
| 69 | if(!(c = getnext(sel->next))) | 69 | if(!(c = getnext(sel->next, tsel))) |
| 70 | c = getnext(clients); | 70 | c = getnext(clients, tsel); |
| 71 | if(c) { | 71 | if(c) { |
| 72 | higher(c); | 72 | higher(c); |
| 73 | c->revert = sel; | 73 | c->revert = sel; |
| @@ -410,8 +410,8 @@ zoom(Arg *arg) | |||
| 410 | if(!sel) | 410 | if(!sel) |
| 411 | return; | 411 | return; |
| 412 | 412 | ||
| 413 | if(sel == getnext(clients) && sel->next) { | 413 | if(sel == getnext(clients, tsel) && sel->next) { |
| 414 | if((c = getnext(sel->next))) | 414 | if((c = getnext(sel->next, tsel))) |
| 415 | sel = c; | 415 | sel = c; |
| 416 | } | 416 | } |
| 417 | 417 | ||
