forked from mirror/dwm
applied Martin Hurton's view() simplification, not checking arg
This commit is contained in:
parent
9f3a5cb754
commit
2dc7f42fd7
1 changed files with 2 additions and 2 deletions
4
dwm.c
4
dwm.c
|
@ -1640,10 +1640,10 @@ updatewmhints(Client *c) {
|
|||
|
||||
void
|
||||
view(const Arg *arg) {
|
||||
if(arg && (arg->ui & TAGMASK) == tagset[seltags])
|
||||
if((arg->ui & TAGMASK) == tagset[seltags])
|
||||
return;
|
||||
seltags ^= 1; /* toggle sel tagset */
|
||||
if(arg && (arg->ui & TAGMASK))
|
||||
if(arg->ui & TAGMASK)
|
||||
tagset[seltags] = arg->ui & TAGMASK;
|
||||
clearurgent();
|
||||
arrange();
|
||||
|
|
Loading…
Reference in a new issue