opt: not need scroller link in client

This commit is contained in:
DreamMaoMao 2026-05-11 08:39:17 +08:00
parent 90a5d12ed4
commit 90e1603a21
5 changed files with 30 additions and 111 deletions

View file

@ -1381,10 +1381,6 @@ int32_t toggleglobal(const Arg *arg) {
selmon->sel->isnamedscratchpad = 0;
}
selmon->sel->isglobal ^= 1;
if (selmon->sel->isglobal &&
(selmon->sel->prev_in_stack || selmon->sel->next_in_stack)) {
arrange(selmon, false, false);
}
setborder_color(selmon->sel);
return 0;
}