Source

dwm / tagandview.c

The default branch has multiple heads

Full commit
1
2
3
4
5
6
7
8
9
static void
tagandview(const Arg *arg) {
	if((arg->ui & TAGMASK) == selmon->tagset[selmon->seltags])
		return;
	selmon->seltags ^= 1; /* toggle sel tagset */
	if(selmon->sel && arg->ui & TAGMASK) 
		selmon->tagset[selmon->seltags] = selmon->sel->tags = arg->ui & TAGMASK;
	arrange(selmon);
}