From: a@null Date: Sat, 14 Feb 2009 11:21:24 +0000 (+0000) Subject: applied nsz' remark X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=1a26389e2bb90150786b20f7706091e3b5620b59;p=dwm.git applied nsz' remark --- 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(); }