*nohtml*

config/dwm/dwm.c.diff

   1 diff --git a/dwm.c b/dwm.c
   2 index 4465af1..c42ca91 100644
   3 --- a/dwm.c
   4 +++ b/dwm.c
   5 @@ -730,7 +730,7 @@ drawbar(Monitor *m)
   6  
   7  	if ((w = m->ww - sw - x) > bh) {
   8  		if (m->sel) {
   9 -			drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]);
  10 +			drw_setscheme(drw, scheme[SchemeNorm]);
  11  			drw_text(drw, x, 0, w, bh, lrpad / 2, m->sel->name, 0);
  12  			if (m->sel->isfloating)
  13  				drw_rect(drw, x + boxs, boxs, boxw, boxw, m->sel->isfixed, 0);
  14 @@ -1545,7 +1545,7 @@ setup(void)
  15  	if (!drw_fontset_create(drw, fonts, LENGTH(fonts)))
  16  		die("no fonts could be loaded.");
  17  	lrpad = drw->fonts->h;
  18 -	bh = drw->fonts->h + 2;
  19 +	bh = barheight;
  20  	updategeom();
  21  	/* init atoms */
  22  	utf8string = XInternAtom(dpy, "UTF8_STRING", False);