-
- for(i=0; i<LENGTH(tags); ++i)
- if(selmon->tagset[selmon->seltags] & 1<<i)
- {
- selmon->pertag->ltidxs[i+1][selmon->sellt] = selmon->lt[selmon->sellt];
- selmon->pertag->sellts[i+1] = selmon->sellt;
- }
-
- if(selmon->pertag->curtag == 0)
- {
- selmon->pertag->ltidxs[0][selmon->sellt] = selmon->lt[selmon->sellt];
- selmon->pertag->sellts[0] = selmon->sellt;
- }
-