Adding shiftview patch

This commit is contained in:
bakkeby
2020-05-03 16:09:05 +02:00
parent 657988fbbf
commit 75d5f1e0c5
7 changed files with 21 additions and 5 deletions

View File

@ -3,7 +3,7 @@ shiftview(const Arg *arg)
{
Arg shifted;
if(arg->i > 0) // left circular shift
if (arg->i > 0) // left circular shift
shifted.ui = (selmon->tagset[selmon->seltags] << arg->i)
| (selmon->tagset[selmon->seltags] >> (LENGTH(tags) - arg->i));
@ -12,4 +12,4 @@ shiftview(const Arg *arg)
| selmon->tagset[selmon->seltags] << (LENGTH(tags) + arg->i);
view(&shifted);
}
}