Merge pull request #217 from kronikpillow/merge

fix shifttag bug fix
This commit is contained in:
Luke Smith 2022-10-07 21:30:15 +00:00 committed by GitHub
commit c83b9f0b96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ shifttag(const Arg *arg)
nextseltags = (curseltags << i) | (curseltags >> (LENGTH(tags) - i));
else // right circular shift
nextseltags = curseltags >> (- i) | (curseltags << (LENGTH(tags) + i));
nextseltags = (curseltags >> - i) | (curseltags << (LENGTH(tags) + i));
// Check if tag is visible
for (c = selmon->clients; c && !visible; c = c->next)
@ -62,3 +62,4 @@ shifttag(const Arg *arg)
tag(&a);
}
}