Browse Source

applied Martin Hurton's view() simplification, not checking arg

master
Anselm R Garbe 17 years ago
parent
commit
2dc7f42fd7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      dwm.c

+ 2
- 2
dwm.c View File

@ -1640,10 +1640,10 @@ updatewmhints(Client *c) {
void void
view(const Arg *arg) { view(const Arg *arg) {
if(arg && (arg->ui & TAGMASK) == tagset[seltags])
if((arg->ui & TAGMASK) == tagset[seltags])
return; return;
seltags ^= 1; /* toggle sel tagset */ seltags ^= 1; /* toggle sel tagset */
if(arg && (arg->ui & TAGMASK))
if(arg->ui & TAGMASK)
tagset[seltags] = arg->ui & TAGMASK; tagset[seltags] = arg->ui & TAGMASK;
clearurgent(); clearurgent();
arrange(); arrange();


Loading…
Cancel
Save