fix: shouldn't exchange tag if in same mon in exchange_two_client

This commit is contained in:
DreamMaoMao 2026-05-12 14:31:18 +08:00
parent 2b68d1b615
commit 8eb0323e03

View file

@ -5143,7 +5143,7 @@ exchange_common:
tmp2_next->prev = &c1->link;
}
if (config.exchange_cross_monitor) {
if (config.exchange_cross_monitor && c1->mon != c2->mon) {
DwindleNode **c1_root = &m1->pertag->dwindle_root[m1->pertag->curtag];
DwindleNode *c1node = dwindle_find_leaf(*c1_root, c1);