hopefully fix systray overlap with status2d

This commit is contained in:
Sakooooo 2023-08-03 17:56:51 +03:00
parent 77402ce3a9
commit 4be182b4d7
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -863,7 +863,8 @@ drawstatusbar(Monitor *m, int bh, char* stext) {
text = p;
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->scheme[ColFg] = scheme[SchemeNorm][ColFg];