# HG changeset patch # User Anselm R Garbe # Date 1203515332 0 # Node ID 908feb1da3c4237ee4ed6bb30e88b895606458cf # Parent 09f1bf0e12ee1eb2834556f721411c175cf3c1ac applied Jukka's zoom-patch diff -r 09f1bf0e12ee -r 908feb1da3c4 dwm.c --- a/dwm.c Wed Feb 20 08:13:41 2008 +0000 +++ b/dwm.c Wed Feb 20 13:48:52 2008 +0000 @@ -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);