Hoi developers,
if I understood the code right, then you should change this comment to
say more clearly what these lines are for.
I needed some minutes to figure out what the comment meant ...
Okay, the new comment isn't perfect either ... maybe something in between
should be chosen.
markus
diff -r 19d4ccea9745 dwm.c
--- a/dwm.c Wed Sep 19 17:32:28 2007 +0200
+++ b/dwm.c Thu Sep 20 21:29:34 2007 +0200
@@ -1673,7 +1684,7 @@ toggleview(const char *arg) {
seltags[i] = !seltags[i];
for(j = 0; j < ntags && !seltags[j]; j++);
if(j == ntags)
- seltags[i] = True; /* cannot toggle last view */
+ seltags[i] = True; /* at least one tag must be viewed */
arrange();
}
Received on Thu Sep 20 2007 - 21:38:39 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:53:58 UTC