From 83a047aca7bf1759250bdb8e8380ce261c9c2037 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Sat, 4 Nov 2023 21:38:38 +0100 Subject: [PATCH] shift: filter out scratchpad tags ref. #382 --- patch/shift.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch/shift.c b/patch/shift.c index 355e645..1babd42 100644 --- a/patch/shift.c +++ b/patch/shift.c @@ -6,7 +6,7 @@ shift(const Arg *arg, int clients) unsigned int tagmask = 0; #if SCRATCHPADS_PATCH && !RENAMED_SCRATCHPADS_PATCH - shifted.ui = selmon->tagset[selmon->seltags]; + shifted.ui = selmon->tagset[selmon->seltags] & ~SPTAGMASK; #else shifted.ui = selmon->tagset[selmon->seltags]; #endif // SCRATCHPADS_PATCH