Fix topbar
This commit is contained in:
parent
8c4412a556
commit
f124cf524c
4
dwm.c
4
dwm.c
|
@ -823,8 +823,8 @@ drawstatusbar(Monitor *m, int bh, int extra, char* stext) {
|
||||||
x2 = m->ww - w2 - 2 * hpb;
|
x2 = m->ww - w2 - 2 * hpb;
|
||||||
} else {
|
} else {
|
||||||
// w += 2; /* 1px padding on both sides */
|
// w += 2; /* 1px padding on both sides */
|
||||||
// ret = x = m->ww - w;
|
ret = m->ww - w;
|
||||||
ret = x = m->ww - w - 2 * hpb;
|
x = m->ww - w - 2 * hpb;
|
||||||
}
|
}
|
||||||
|
|
||||||
drw_setscheme(drw, scheme[LENGTH(colors)]);
|
drw_setscheme(drw, scheme[LENGTH(colors)]);
|
||||||
|
|
Loading…
Reference in New Issue