# HG changeset patch # User meillo@marmaro.de # Date 1190322751 -7200 # Node ID 303286112f0a3fafa0ec318a489895d8a60db753 # Parent 19d4ccea9745e8c04e5a4a9278efcb73a22cf248 Meillos mods: toggletags, maxlayout, match only first rule, no squares, personalized config.h (rem: code of maxlayout is from the monocle-patch, via mailinglist) diff -r 19d4ccea9745 -r 303286112f0a dwm.c --- a/dwm.c Wed Sep 19 17:32:28 2007 +0200 +++ b/dwm.c Thu Sep 20 23:12:31 2007 +0200 @@ -537,11 +544,9 @@ drawbar(void) { dc.w = textw(tags[i]); if(seltags[i]) { drawtext(tags[i], dc.sel); - drawsquare(sel && sel->tags[i], isoccupied(i), dc.sel); } else { drawtext(tags[i], dc.norm); - drawsquare(sel && sel->tags[i], isoccupied(i), dc.norm); } dc.x += dc.w; } @@ -558,8 +563,7 @@ drawbar(void) { if((dc.w = dc.x - x) > bh) { dc.x = x; if(sel) { - drawtext(sel->name, dc.sel); - drawsquare(sel->ismax, sel->isfloating, dc.sel); + drawtext(sel->name, dc.norm); } else drawtext(NULL, dc.norm);