diff options
author | Anselm R Garbe | 2008-08-18 09:49:44 +0100 |
---|---|---|
committer | Anselm R Garbe | 2008-08-18 09:49:44 +0100 |
commit | 24bb2fe3d456a974c51b91cd1be09fd0880e33b2 (patch) | |
tree | f4caa74e77dbab8800d2f5be4d1c7c387e213cfd /dwm.c | |
parent | d7aca38e2ea5b54a1726f46d68e45b13dbedb3d9 (diff) | |
download | aur-24bb2fe3d456a974c51b91cd1be09fd0880e33b2.tar.gz |
applied Martin Hurton's view() simplification, not checking arg
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); |