aboutsummaryrefslogtreecommitdiffstats
path: root/view.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-06 10:03:21 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-06 10:03:21 +0200
commitf18ed615ae7beb9eb6420510c83beb847d875bcb (patch)
tree302e350412ee2d1b7a4abc1c4126e3de3df0864c /view.c
parentf6656fffb4e0c6a9a59e2669da4f7bebda19f08e (diff)
downloaddwm-f18ed615ae7beb9eb6420510c83beb847d875bcb.tar.gz
small fix
Diffstat (limited to 'view.c')
-rw-r--r--view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/view.c b/view.c
index ac201e6..ce122ed 100644
--- a/view.c
+++ b/view.c
@@ -41,7 +41,7 @@ reorder()
static Client *
nexttiled(Client *c)
{
- for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next));
+ for(c = getnext(c); c && c->isfloat; c = getnext(c->next));
return c;
}
@@ -325,7 +325,7 @@ zoom(Arg *arg)
return;
if((c = sel) == nexttiled(clients))
- if(!(c = nexttiled(c)))
+ if(!(c = nexttiled(c->next)))
return;
detach(c);
c->next = clients;