little changes

This commit is contained in:
Linux User 2022-10-02 17:05:48 +00:00
parent f124cf524c
commit 2e11ec286a
1 changed files with 1 additions and 1 deletions

2
dwm.c
View File

@ -824,7 +824,7 @@ drawstatusbar(Monitor *m, int bh, int extra, char* stext) {
} else { } else {
// w += 2; /* 1px padding on both sides */ // w += 2; /* 1px padding on both sides */
ret = m->ww - w; ret = m->ww - w;
x = m->ww - w - 2 * hpb; x = ret - 2 * hpb;
} }
drw_setscheme(drw, scheme[LENGTH(colors)]); drw_setscheme(drw, scheme[LENGTH(colors)]);