# HG changeset patch # User Anselm R. Garbe # Date 1179826199 -7200 # Node ID 42bf8e618d52e86f79dbacfaa9912e5e1f882e38 # Parent b940ac76c22f044c13983aef1663ba52f9b3a75b applied Szabolcs proposal for zoom() as well diff -r b940ac76c22f -r 42bf8e618d52 layout.c --- a/layout.c Tue May 22 11:29:04 2007 +0200 +++ b/layout.c Tue May 22 11:29:59 2007 +0200 @@ -247,7 +247,7 @@ zoom(const char *arg) { Client *c; - if(!sel || lt->arrange != tile || sel->isfloating) + if(!sel || lt->arrange == floating || sel->isfloating) return; if((c = sel) == nexttiled(clients)) if(!(c = nexttiled(c->next)))