diff options
author | Anselm R Garbe | 2008-02-20 13:48:52 +0000 |
---|---|---|
committer | Anselm R Garbe | 2008-02-20 13:48:52 +0000 |
commit | ddde485f8b1e76d8970635f355227e21306fa064 (patch) | |
tree | fc4d1cb55f304f2e77645fdcb6370e4985cb3648 | |
parent | 1ba8d5e8a366b2a85ab55bed134eee993506732b (diff) | |
download | aur-ddde485f8b1e76d8970635f355227e21306fa064.tar.gz |
applied Jukka's zoom-patch
-rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2009,11 +2009,11 @@ viewprevtag(const char *arg) { void zoom(const char *arg) { - Client *c; + Client *c = sel; if(!sel || !dozoom || sel->isfloating) return; - if((c = sel) == nexttiled(clients, c->monitor)) + if(c == nexttiled(clients, c->monitor)) if(!(c = nexttiled(c->next, c->monitor))) return; detach(c); |