mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-10 23:50:41 -04:00
Make number of tags configurable (tag_count)
This commit is contained in:
parent
9df273cdf9
commit
8cc5579e16
8 changed files with 64 additions and 44 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue