Hi,
created simply patch that somewhat cleanup r874 (actual tip).
URL:
http://na.srck.net/dwm/dwm-r874-cleanup.patch
Stats:
client.c | 14 ++++++++++----
dwm.h | 1 +
event.c | 3 +--
layout.c | 15 ++++-----------
4 files changed, 16 insertions(+), 17 deletions(-)
It creates new function:
+focustopvisible(void) {
+ Client *c;
+
+ for(c = stack; c && !isvisible(c); c = c->snext);
+ focus(c);
and replaces all ocurrances of that selection&focus loops in dwm code
and second thing cleaned up ;) was removing of code in layout.c/zoom
which simply do nothing:
- for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))
- n++;
but n was never used in func. zoom.
--anydot
Received on Sat May 12 2007 - 17:37:49 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:41:35 UTC