Adding option to be able to reverse cycle through flextile-deluxe layouts

This commit is contained in:
bakkeby
2020-05-01 16:45:25 +02:00
parent 0a0222d929
commit b837899f7a
4 changed files with 36 additions and 15 deletions

View File

@@ -36,7 +36,7 @@ pertagview(const Arg *arg)
if (arg->ui == ~0)
selmon->pertag->curtag = 0;
else {
for (i=0; !(arg->ui & 1 << i); i++) ;
for (i = 0; !(arg->ui & 1 << i); i++) ;
selmon->pertag->curtag = i + 1;
}
} else {