dwm.c
changeset 1327 920833e10274
parent 1326 158c50c241b5
child 1328 0fac6d3067d7
equal deleted inserted replaced
1326:158c50c241b5 1327:920833e10274
  1638 	}
  1638 	}
  1639 }
  1639 }
  1640 
  1640 
  1641 void
  1641 void
  1642 view(const Arg *arg) {
  1642 view(const Arg *arg) {
  1643 	if(arg && (arg->ui & TAGMASK) == tagset[seltags])
  1643 	if((arg->ui & TAGMASK) == tagset[seltags])
  1644 		return;
  1644 		return;
  1645 	seltags ^= 1; /* toggle sel tagset */
  1645 	seltags ^= 1; /* toggle sel tagset */
  1646 	if(arg && (arg->ui & TAGMASK))
  1646 	if(arg->ui & TAGMASK)
  1647 		tagset[seltags] = arg->ui & TAGMASK;
  1647 		tagset[seltags] = arg->ui & TAGMASK;
  1648 	clearurgent();
  1648 	clearurgent();
  1649 	arrange();
  1649 	arrange();
  1650 }
  1650 }
  1651 
  1651