Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applied sanders patch of not manipulating sel
[dwm.git]
/
view.c
diff --git
a/view.c
b/view.c
index
5cbab08
..
3e78661
100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-77,8
+77,8
@@
dofloat(Arg *arg)
ban(c);
}
if(!sel || !isvisible(sel)) {
ban(c);
}
if(!sel || !isvisible(sel)) {
- for(sel = stack; sel && !isvisible(sel); sel = sel->snext);
- focus(sel);
+ for(c = stack; c && !isvisible(c); c = c->snext);
+ focus(c);
}
restack();
}
}
restack();
}
@@
-141,8
+141,8
@@
dotile(Arg *arg)
ban(c);
}
if(!sel || !isvisible(sel)) {
ban(c);
}
if(!sel || !isvisible(sel)) {
- for(sel = stack; sel && !isvisible(sel); sel = sel->snext);
- focus(sel);
+ for(c = stack; c && !isvisible(c); c = c->snext);
+ focus(c);
}
restack();
}
}
restack();
}