diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-05-22 11:29:59 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-05-22 11:29:59 +0200 |
| commit | 8439369db9e340bf260efb1c29282ccb5d224194 (patch) | |
| tree | 7057a65a0b151b7a75e558291a1fad8566006422 /layout.c | |
| parent | applied Szabolcs proposal to simplify setlayout() (diff) | |
| download | dwm-8439369db9e340bf260efb1c29282ccb5d224194.tar.gz dwm-8439369db9e340bf260efb1c29282ccb5d224194.zip | |
applied Szabolcs proposal for zoom() as well
Diffstat (limited to '')
| -rw-r--r-- | layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -247,7 +247,7 @@ void | |||
| 247 | zoom(const char *arg) { | 247 | zoom(const char *arg) { |
| 248 | Client *c; | 248 | Client *c; |
| 249 | 249 | ||
| 250 | if(!sel || lt->arrange != tile || sel->isfloating) | 250 | if(!sel || lt->arrange == floating || sel->isfloating) |
| 251 | return; | 251 | return; |
| 252 | if((c = sel) == nexttiled(clients)) | 252 | if((c = sel) == nexttiled(clients)) |
| 253 | if(!(c = nexttiled(c->next))) | 253 | if(!(c = nexttiled(c->next))) |
