aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <[email protected]>2022-10-07 21:30:15 +0000
committerGitHub <[email protected]>2022-10-07 21:30:15 +0000
commitc83b9f0b96960a7c379b315e9e314209e80c5e6c (patch)
tree79bf7bf3b53d5543e84f00449e90365e683f6011
parentMerge branch 'master' of github.com:LukeSmithxyz/dwm (diff)
parentfix shifttag bug (diff)
downloadseiwm-c83b9f0b96960a7c379b315e9e314209e80c5e6c.tar.xz
seiwm-c83b9f0b96960a7c379b315e9e314209e80c5e6c.zip
Merge pull request #217 from kronikpillow/merge
fix shifttag bug fix
-rw-r--r--shiftview.c3
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);
}
}
+