diff options
| author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2015-03-28 00:19:11 -0300 | 
|---|---|---|
| committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2015-03-28 00:19:11 -0300 | 
| commit | 41e8fd092ba9ec0a1fbc6fab1826faa5e5775ba8 (patch) | |
| tree | f9bd72d48a471b54bb154531d6cc18ab287efaf6 | |
| parent | bf8ae57f6a4d96ccd92125b80be55fd203498320 (diff) | |
FIXED IT, going to try pango next (is it worth it though?)
| -rw-r--r-- | config.h | 2 | ||||
| -rwxr-xr-x | dwm | bin | 41136 -> 41328 bytes | |||
| -rw-r--r-- | dwm.c | 5 | ||||
| -rw-r--r-- | dwm.o | bin | 61800 -> 62040 bytes | 
4 files changed, 3 insertions, 4 deletions
| @@ -16,7 +16,7 @@ static const unsigned int borderpx  = 1;        /* border pixel of windows */  static const unsigned int snap      = 32;       /* snap pixel */  static const Bool showbar           = True;     /* False means no bar */  static const Bool topbar            = False;    /* False means bottom bar */ -static const Bool showtitle         = False;    /* True means titles are shown on bar */ +static const Bool showtitle         = True;     /* True means titles are shown on bar */  /*   Display modes of the tab bar: never shown, always shown, shown only in  */  /*   monocle mode in presence of several windows.                            */Binary files differ @@ -843,8 +843,7 @@ drawbar(Monitor *m) {  	if((dc.w = dc.x - x) > bh) {  		dc.x = x;  		if(m->sel && showtitle) {           -			col = m == selmon ? 1 : 0; -			drawtext(dc.drawable, m->sel->name, col, True); +			drawtext(dc.drawable, m->sel->name, 0, True);              drawsquare(m->sel->isfixed, m->sel->isfloating, col);  		}  		else @@ -1024,7 +1023,7 @@ drawtext(Drawable drawable, const char *text, int col, Bool pad) {  	if(len < olen)  		for(i = len; i && i > len - 3; buf[--i] = '.'); -    d = XftDrawCreate(dpy, dc.drawable, DefaultVisual(dpy, screen), DefaultColormap(dpy,screen)); +    d = XftDrawCreate(dpy, drawable, DefaultVisual(dpy, screen), DefaultColormap(dpy,screen));  	XftDrawStringUtf8(d, &dc.xftcolors[col][ColFG], dc.font.xfont, x, y, (XftChar8 *) buf, len);  	XftDrawDestroy(d);Binary files differ | 
