summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index cfe1e7b..ef723cc 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1463,7 +1463,7 @@ toggletag(const Arg *arg) {
return;
mask = sel->tags ^ (arg->ui & TAGMASK);
- if(sel && mask) {
+ if(mask) {
sel->tags = mask;
arrange();
}