hopefully fix systray overlap with status2d
This commit is contained in:
parent
77402ce3a9
commit
4be182b4d7
|
@ -863,7 +863,8 @@ drawstatusbar(Monitor *m, int bh, char* stext) {
|
||||||
text = p;
|
text = p;
|
||||||
|
|
||||||
w += 2; /* 1px padding on both sides */
|
w += 2; /* 1px padding on both sides */
|
||||||
ret = x = m->ww - w;
|
ret = m->ww - w;
|
||||||
|
x = ret - getsystraywidth();
|
||||||
|
|
||||||
drw_setscheme(drw, scheme[LENGTH(colors)]);
|
drw_setscheme(drw, scheme[LENGTH(colors)]);
|
||||||
drw->scheme[ColFg] = scheme[SchemeNorm][ColFg];
|
drw->scheme[ColFg] = scheme[SchemeNorm][ColFg];
|
||||||
|
|
Loading…
Reference in a new issue