diff options
author | Dejan Kutle <kronikpillow@gmail.com> | 2022-10-07 23:01:01 +0200 |
---|---|---|
committer | Dejan Kutle <kronikpillow@gmail.com> | 2022-10-07 23:01:01 +0200 |
commit | 8e154f66b15b520ae63b08189e6f1aa0995d4bd3 (patch) | |
tree | 79bf7bf3b53d5543e84f00449e90365e683f6011 | |
parent | c9717918eeb71c9599aadb8f96316a87030d0218 (diff) |
fix shifttag bug
shifttag to right used to shift
the window in to the scratchpad
-rw-r--r-- | shiftview.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shiftview.c b/shiftview.c index 3d2706b..bb43969 100644 --- a/shiftview.c +++ b/shiftview.c @@ -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); } } + |