This commit is contained in:
Sakooooo 2023-09-11 08:23:18 +04:00
parent adb672b443
commit dfcf465669
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -869,7 +869,10 @@ 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 = x = m->ww - w - stw;
// status2d fix
ret = m->ww - w;
x = m->ww - w - 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];