opt: allow scroller in multi tag view

This commit is contained in:
DreamMaoMao 2025-05-06 20:27:25 +08:00
parent c1b48567e1
commit d9932de4a6

View file

@ -3657,7 +3657,7 @@ void focusclient(Client *c, int lift) {
// decide whether need to re-arrange // decide whether need to re-arrange
if (c && selmon->prevsel && !selmon->prevsel->isfloating && if (c && selmon->prevsel && !selmon->prevsel->isfloating &&
selmon->prevsel->tags == c->tags && !c->isfloating && (selmon->prevsel->tags & selmon->tagset[selmon->seltags]) && (c->tags & selmon->tagset[selmon->seltags]) && !c->isfloating &&
!c->isfullscreen && !c->isfullscreen &&
strcmp(selmon->pertag->ltidxs[selmon->pertag->curtag]->name, strcmp(selmon->pertag->ltidxs[selmon->pertag->curtag]->name,
"scroller") == 0) { "scroller") == 0) {