~ruther/dwl

5b57d0ae9c5ceffee19ac2030322dfc3d79eed10 — Rutherther 1 year, 2 months ago 5af3c41 + 4345b06
Merge branch 'patch/singletagset' into v0.6-a/patched-base
1 files changed, 3 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +3 -1
@@ 3672,11 3672,13 @@ void
view(const Arg *arg)
{
	Monitor *m, *origm = selmon;
	unsigned int newtags = selmon->tagset[selmon->seltags ^ 1];
	unsigned int newtags;

	if (!selmon || (arg->ui & TAGMASK) == selmon->tagset[selmon->seltags])
		return;

	newtags = selmon->tagset[selmon->seltags ^ 1];

	/* swap tags when trying to display a tag from another monitor */
	if (arg->ui & TAGMASK)
		newtags = arg->ui & TAGMASK;

Do not follow this link