summaryrefslogtreecommitdiffstats
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
parentmade args mode symbols the default ones (the default ones look too ugly) (diff)
downloaddwm-f18ed615ae7beb9eb6420510c83beb847d875bcb.tar.gz
dwm-f18ed615ae7beb9eb6420510c83beb847d875bcb.zip
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()
41static Client * 41static Client *
42nexttiled(Client *c) 42nexttiled(Client *c)
43{ 43{
44 for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next)); 44 for(c = getnext(c); c && c->isfloat; c = getnext(c->next));
45 return c; 45 return c;
46} 46}
47 47
@@ -325,7 +325,7 @@ zoom(Arg *arg)
325 return; 325 return;
326 326
327 if((c = sel) == nexttiled(clients)) 327 if((c = sel) == nexttiled(clients))
328 if(!(c = nexttiled(c))) 328 if(!(c = nexttiled(c->next)))
329 return; 329 return;
330 detach(c); 330 detach(c);
331 c->next = clients; 331 c->next = clients;