aboutsummarylogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe2008-08-18 09:49:44 +0100
committerAnselm R Garbe2008-08-18 09:49:44 +0100
commit24bb2fe3d456a974c51b91cd1be09fd0880e33b2 (patch)
treef4caa74e77dbab8800d2f5be4d1c7c387e213cfd /dwm.c
parentd7aca38e2ea5b54a1726f46d68e45b13dbedb3d9 (diff)
downloadaur-24bb2fe3d456a974c51b91cd1be09fd0880e33b2.tar.gz
applied Martin Hurton's view() simplification, not checking arg
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 7d9939020a42..c31343c2cc9e 100644
--- a/dwm.c
+++ b/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();