JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
implement multi-tag selection through button3 click on the specific tag
[dwm.git] / draw.c
diff --git a/draw.c b/draw.c
index 6466f41..bdbe85a 100644 (file)
--- a/draw.c
+++ b/draw.c
@@ -109,9 +109,9 @@ drawstatus()
                dc.x += dc.w;
                dc.w = textw(tags[i]);
                if(istile)
-                       drawtext(tags[i], (i == tsel));
+                       drawtext(tags[i], tsel[i]);
                else
-                       drawtext(tags[i], (i != tsel));
+                       drawtext(tags[i], !tsel[i]);
        }
        x = dc.x + dc.w;
        dc.w = textw(stext);