summaryrefslogtreecommitdiffhomepage
path: root/patch/shiftview.c
diff options
context:
space:
mode:
Diffstat (limited to 'patch/shiftview.c')
-rw-r--r--patch/shiftview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/patch/shiftview.c b/patch/shiftview.c
index b9c811a..efb5674 100644
--- a/patch/shiftview.c
+++ b/patch/shiftview.c
@@ -2,7 +2,7 @@ void
shiftview(const Arg *arg)
{
Arg shifted;
- #if SCRATCHPADS_PATCH
+ #if SCRATCHPADS_PATCH && !RENAMED_SCRATCHPADS_PATCH
unsigned int seltagset = selmon->tagset[selmon->seltags] & ~SPTAGMASK;
#else
unsigned int seltagset = selmon->tagset[selmon->seltags];
@@ -11,7 +11,7 @@ shiftview(const Arg *arg)
shifted.ui = (seltagset << arg->i) | (seltagset >> (NUMTAGS - arg->i));
else // right circular shift
shifted.ui = (seltagset >> -arg->i) | (seltagset << (NUMTAGS + arg->i));
- #if SCRATCHPADS_PATCH
+ #if SCRATCHPADS_PATCH && !RENAMED_SCRATCHPADS_PATCH
shifted.ui &= ~SPTAGMASK;
#endif // SCRATCHPADS_PATCH