diff options
| author | Anselm R. Garbe <[email protected]> | 2007-01-05 15:08:25 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <[email protected]> | 2007-01-05 15:08:25 +0100 |
| commit | 0faaba04a589c288a3f117f6c5b2c259c2b6790d (patch) | |
| tree | 69a6fd707b84c50cf4ea7ad50e49f4fc10a35ad3 | |
| parent | changed plus key to MODKEY-Shift-plus (US-layout restrictions ;) (diff) | |
| download | seiwm-0faaba04a589c288a3f117f6c5b2c259c2b6790d.tar.xz seiwm-0faaba04a589c288a3f117f6c5b2c259c2b6790d.zip | |
allowing zoom within master area as well
| -rw-r--r-- | view.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -302,10 +302,11 @@ zoom(Arg *arg) { } for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) n++; - if(n <= nmaster || (arrange == dofloat)) - return; - if(ismaster((c = sel))) { + c = sel; + if(n <= nmaster || (arrange == dofloat)) + pop(c); + else if(ismaster(sel)) { if(!(c = topofstack())) return; swap(c, sel); |