Adding shiftview patch
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user