Make number of tags configurable (tag_count)

This commit is contained in:
Gerry Hernandez 2026-03-05 23:59:06 -08:00
parent 9df273cdf9
commit 8cc5579e16
8 changed files with 64 additions and 44 deletions

View file

@ -1515,10 +1515,10 @@ int32_t viewtoright_have_client(const Arg *arg) {
return 0;
}
if (current >= LENGTH(tags))
if (current >= tag_count)
return 0;
for (n = current + 1; n <= LENGTH(tags); n++) {
for (n = current + 1; n <= tag_count; n++) {
if (get_tag_status(n, selmon)) {
found = true;
break;