Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
small fix
[dwm.git]
/
view.c
diff --git
a/view.c
b/view.c
index
ac201e6
..
ce122ed
100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-41,7
+41,7
@@
reorder()
static Client *
nexttiled(Client *c)
{
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;
}
return c;
}
@@
-325,7
+325,7
@@
zoom(Arg *arg)
return;
if((c = sel) == nexttiled(clients))
return;
if((c = sel) == nexttiled(clients))
- if(!(c = nexttiled(c)))
+ if(!(c = nexttiled(c
->next
)))
return;
detach(c);
c->next = clients;
return;
detach(c);
c->next = clients;