JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed viewall(), replaced with view(-1); added tag(-1) to tag a client with all...
[dwm.git] / tag.c
diff --git a/tag.c b/tag.c
index b1a2eb9..20a0a17 100644 (file)
--- a/tag.c
+++ b/tag.c
@@ -113,7 +113,7 @@ tag(Arg *arg) {
        if(!sel)
                return;
        for(i = 0; i < ntags; i++)
-               sel->tags[i] = False;
+               sel->tags[i] = (arg->i == -1) ? True : False;
        sel->tags[arg->i] = True;
        arrange();
 }