fixed a comment
This commit is contained in:
parent
1fafcb1820
commit
fa1ce22bc4
2
dwm.c
2
dwm.c
|
@ -1673,7 +1673,7 @@ toggleview(const char *arg) {
|
||||||
seltags[i] = !seltags[i];
|
seltags[i] = !seltags[i];
|
||||||
for(j = 0; j < ntags && !seltags[j]; j++);
|
for(j = 0; j < ntags && !seltags[j]; j++);
|
||||||
if(j == ntags)
|
if(j == ntags)
|
||||||
seltags[i] = True; /* cannot toggle last view */
|
seltags[i] = True; /* at least one tag must be viewed */
|
||||||
arrange();
|
arrange();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue