X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=draw.c;h=eaad7fc4748f9cba3e169d248e221af733576466;hb=9800518ae3505e54c0e52ea3d40050f279e722d6;hp=ced0dfd766501cb7365b6efadb83fd1d863ce93a;hpb=77044e876511f51c34bde379d89e2de754707ee6;p=dwm.git diff --git a/draw.c b/draw.c index ced0dfd..eaad7fc 100644 --- a/draw.c +++ b/draw.c @@ -49,13 +49,13 @@ textnw(const char *text, unsigned int len) { /* extern */ void -drawstatus(void) { +drawbar(void) { int i, x; dc.x = dc.y = 0; for(i = 0; i < ntags; i++) { dc.w = textw(tags[i]); - if(seltag[i]) { + if(seltags[i]) { drawtext(tags[i], dc.sel); drawsquare(sel && sel->tags[i], isoccupied(i), dc.sel); }