allowing zoom within master area as well
0faaba04
1 file(s) · +4 −3
| 302 | 302 | } |
|
| 303 | 303 | for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) |
|
| 304 | 304 | n++; |
|
| 305 | + | ||
| 306 | + | c = sel; |
|
| 305 | 307 | if(n <= nmaster || (arrange == dofloat)) |
|
| 306 | - | return; |
|
| 307 | - | ||
| 308 | - | if(ismaster((c = sel))) { |
|
| 308 | + | pop(c); |
|
| 309 | + | else if(ismaster(sel)) { |
|
| 309 | 310 | if(!(c = topofstack())) |
|
| 310 | 311 | return; |
|
| 311 | 312 | swap(c, sel); |