From 8439369db9e340bf260efb1c29282ccb5d224194 Mon Sep 17 00:00:00 2001
From: "Anselm R. Garbe" <arg@suckless.org>
Date: Tue, 22 May 2007 11:29:59 +0200
Subject: applied Szabolcs proposal for zoom() as well

---
 layout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layout.c b/layout.c
index 47e9e49..abdf30f 100644
--- a/layout.c
+++ b/layout.c
@@ -247,7 +247,7 @@ void
 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)))
-- 
cgit v1.2.3