From ad9664fa01037fa41d9183100baef30d0cad7be8 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Wed, 8 Nov 2023 21:09:27 +0100 Subject: [PATCH] shift: skip sticky clients when working out which tags are occupied ref. #387 --- patch/shift.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/patch/shift.c b/patch/shift.c index 1babd42..66b4dce 100644 --- a/patch/shift.c +++ b/patch/shift.c @@ -18,6 +18,10 @@ shift(const Arg *arg, int clients) for (c = selmon->clients; c && clients; c = c->next) { if (c == selmon->sel) continue; + #if STICKY_PATCH + if (c->issticky) + continue; + #endif // STICKY_PATCH #if SCRATCHPADS_PATCH && !RENAMED_SCRATCHPADS_PATCH if (!(c->tags & SPTAGMASK)) tagmask |= c->tags;