pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa9f2be
)
selmon optimisation is needed
author
Anselm R Garbe
<anselm@garbe.us>
Thu, 1 Apr 2010 18:39:24 +0000
(19:39 +0100)
committer
Anselm R Garbe
<anselm@garbe.us>
Thu, 1 Apr 2010 18:39:24 +0000
(19:39 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
b1f77cc
..
ac534a8
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-815,10
+815,6
@@
void
focus(Client *c) {
if(!c || !ISVISIBLE(c))
for(c = selmon->stack; c && !ISVISIBLE(c); c = c->snext);
- if(c && c == selmon->sel) {
- D fprintf(stderr, "focus, optimising focus away\n");
- return;
- }
if(selmon->sel)
unfocus(selmon->sel);
if(c) {