diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2008-08-18 09:49:44 +0100 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2008-08-18 09:49:44 +0100 |
| commit | 2dc7f42fd7fc8f1fc8d837265221654e8565eb6b (patch) | |
| tree | e67ec1b63848ffb117b4e29e09130000c7fefdf5 /dwm.c | |
| parent | making a comment more explicit (diff) | |
| download | dwm-2dc7f42fd7fc8f1fc8d837265221654e8565eb6b.tar.gz dwm-2dc7f42fd7fc8f1fc8d837265221654e8565eb6b.zip | |
applied Martin Hurton's view() simplification, not checking arg
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1640,10 +1640,10 @@ updatewmhints(Client *c) { | |||
| 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(); |
