about summary refs log tree commit diff stats
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index b76b47e..561d4ef 100644
--- a/view.c
+++ b/view.c
@@ -318,7 +318,7 @@ zoom(Arg *arg)
 		return;
 
 	/* this is somewhat tricky, it asserts to only zoom tiled clients */
-	for(c = clients; c && c->isfloat; c = getnext(c->next));
+	for(c = getnext(clients); c && c->isfloat; c = getnext(c->next));
 	if(c) {
 		if(c == sel)
 			for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next));