applied Szabolcs proposal for zoom() as well
authorAnselm R. Garbe <arg@suckless.org>
Tue, 22 May 2007 11:29:59 +0200
changeset 892 42bf8e618d52
parent 891 b940ac76c22f
child 893 eb1add67b218
applied Szabolcs proposal for zoom() as well
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)))