修复滚动模式丢失管理窗口

This commit is contained in:
DreamMaoMao 2025-02-10 23:02:13 +08:00
parent 07540cb47a
commit dff26f5303

8
main.c
View file

@ -4630,7 +4630,13 @@ void scroller(Monitor *m, unsigned int gappo, unsigned int gappi) {
} else if(selmon->prevsel && selmon->prevsel->istiled && !c->ismaxmizescreen && !c->isfullscreen) {
root_client = selmon->prevsel;
} else {
return;
wl_list_for_each(c, &clients, link) {
if (c->iskilling)
continue;
if (c->tags == m->tagset[m->seltags] && !c->isfloating) {
root_client = c;
}
}
}
for (i = 0;tempClients[i]; i++) {