aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 8762269..c555a62 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1673,7 +1673,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();
}