X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=dwm.c;h=c555a628d6745495cacb36748fb5010c727e91e3;hp=87622695617562253740b38d3cf29b5eb4e179ae;hb=fa1ce22bc401567d7dadb10aa82672611293cc57;hpb=1fafcb1820d37dbf58a864f2c10e1e24ae1a21d1 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(); }