X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=tag.c;h=dcda6dc77973c0fff42adbef8a1a7de586c7b547;hb=d39d00057ce609e726b2769f953485dc4c7403cc;hp=a2e1c8994d1ba5987a738c7a028769789347be19;hpb=9d739090750ffb3b3a64e86e2331215b8901c360;p=dwm.git diff --git a/tag.c b/tag.c index a2e1c89..dcda6dc 100644 --- a/tag.c +++ b/tag.c @@ -121,11 +121,7 @@ tag(Arg *arg) for(i = 0; i < ntags; i++) sel->tags[i] = False; sel->tags[arg->i] = True; - settitle(sel); - if(!isvisible(sel)) - arrange(NULL); - else - drawstatus(); + arrange(NULL); } void @@ -140,9 +136,5 @@ toggletag(Arg *arg) for(i = 0; i < ntags && !sel->tags[i]; i++); if(i == ntags) sel->tags[arg->i] = True; - settitle(sel); - if(!isvisible(sel)) - arrange(NULL); - else - drawstatus(); + arrange(NULL); }