This commit is contained in:
Gerry Hernandez 2026-05-05 00:44:36 +04:00 committed by GitHub
commit 727f50a73c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 152 additions and 84 deletions

View file

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