equal
deleted
inserted
replaced
1500 for(i = 0, m = mons; m; m = m->next, i++) |
1500 for(i = 0, m = mons; m; m = m->next, i++) |
1501 if(i == arg->ui) { |
1501 if(i == arg->ui) { |
1502 detach(c); |
1502 detach(c); |
1503 detachstack(c); |
1503 detachstack(c); |
1504 c->mon = m; |
1504 c->mon = m; |
1505 c->tags = selmon->seltags; /* assign tags of target monitor */ |
1505 c->tags = m->seltags; /* assign tags of target monitor */ |
1506 attach(c); |
1506 attach(c); |
1507 attachstack(c); |
1507 attachstack(c); |
1508 m->sel = c; |
1508 m->sel = c; |
1509 for(c = selmon->stack; c && !ISVISIBLE(c); c = c->snext); |
1509 for(c = selmon->stack; c && !ISVISIBLE(c); c = c->snext); |
1510 selmon->sel = c; |
1510 selmon->sel = c; |