applied Jukka's zoom-patch
Anselm R Garbe garbeam@gmail.com
Wed, 20 Feb 2008 13:48:52 +0000
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
dwm.c
→
dwm.c
@@ -2009,11 +2009,11 @@ }
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);