projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26157e6
)
reducing focus calls (sanders patch)
author
Anselm R. Garbe
<arg@10kloc.org>
Mon, 4 Sep 2006 08:10:08 +0000
(10:10 +0200)
committer
Anselm R. Garbe
<arg@10kloc.org>
Mon, 4 Sep 2006 08:10:08 +0000
(10:10 +0200)
view.c
patch
|
blob
|
history
diff --git
a/view.c
b/view.c
index 86902d4779b638a374a8e00498f5311841c64e17..21efa164f0a1c818a5d672de1a6e6153444549b7 100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-68,9
+68,8
@@
dofloat(Arg *arg)
else
ban(c);
}
- if(!(fc = sel) || !isvisible(fc))
- fc = getnext(clients);
- focus(fc);
+ if(!sel || !isvisible(sel))
+ focus(getnext(clients));
restack();
}
@@
-131,9
+130,8
@@
dotile(Arg *arg)
else
ban(c);
}
- if(!(fc = sel) || !isvisible(fc))
- fc = getnext(clients);
- focus(fc);
+ if(!sel || !isvisible(sel))
+ focus(getnext(clients));
restack();
}