From 2e11ec286a7f7934a735c051204c548b8cc506f7 Mon Sep 17 00:00:00 2001 From: Linux User Date: Sun, 2 Oct 2022 17:05:48 +0000 Subject: [PATCH] little changes --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index f65eb68..45bd1ca 100644 --- a/dwm.c +++ b/dwm.c @@ -824,7 +824,7 @@ drawstatusbar(Monitor *m, int bh, int extra, char* stext) { } else { // w += 2; /* 1px padding on both sides */ ret = m->ww - w; - x = m->ww - w - 2 * hpb; + x = ret - 2 * hpb; } drw_setscheme(drw, scheme[LENGTH(colors)]);