Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Added tag 1.3 for changeset f5f5cbf016a94b48a8fe9c47f0736e96d166d5d4
[dwm.git]
/
view.c
diff --git
a/view.c
b/view.c
index
86902d4
..
cb92eee
100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-57,7
+57,7
@@
detach(Client *c)
void
dofloat(Arg *arg)
{
void
dofloat(Arg *arg)
{
- Client *c
, *fc
;
+ Client *c;
maximized = False;
maximized = False;
@@
-68,9
+68,8
@@
dofloat(Arg *arg)
else
ban(c);
}
else
ban(c);
}
- if(!(fc = sel) || !isvisible(fc))
- fc = getnext(clients);
- focus(fc);
+ if(!sel || !isvisible(sel))
+ focus(getnext(clients));
restack();
}
restack();
}
@@
-78,7
+77,7
@@
void
dotile(Arg *arg)
{
int h, i, n, w;
dotile(Arg *arg)
{
int h, i, n, w;
- Client *c
, *fc
;
+ Client *c;
maximized = False;
maximized = False;
@@
-131,9
+130,8
@@
dotile(Arg *arg)
else
ban(c);
}
else
ban(c);
}
- if(!(fc = sel) || !isvisible(fc))
- fc = getnext(clients);
- focus(fc);
+ if(!sel || !isvisible(sel))
+ focus(getnext(clients));
restack();
}
restack();
}