opt: swallow inherit global
Some checks are pending
Sync website / sync-website (push) Waiting to run
Sync wiki / sync-wiki (push) Waiting to run

This commit is contained in:
DreamMaoMao 2026-05-10 09:34:01 +08:00
parent ed03dacd22
commit cabafb2393

View file

@ -1158,6 +1158,7 @@ void swallow(Client *c, Client *w) {
c->scroller_proportion = w->scroller_proportion;
c->next_in_stack = w->next_in_stack;
c->prev_in_stack = w->prev_in_stack;
c->isglobal = w->isglobal;
if (w->next_in_stack)
w->next_in_stack->prev_in_stack = c;