[hackers] [dmenu][PATCH] make prompt padding symmetric

From: Alessandro Caputo <nonedisponibile_AT_gmail.com>
Date: Thu, 7 Dec 2017 22:46:14 +0100

---
 dmenu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dmenu.c b/dmenu.c
index eae5685..4173c62 100644
--- a/dmenu.c
+++ b/dmenu.c
_AT_@ -604,7 +604,7 @@ setup(void)
 		y = topbar ? 0 : wa.height - mh;
 		mw = wa.width;
 	}
-	promptw = (prompt && *prompt) ? TEXTW(prompt) - lrpad / 4 : 0;
+	promptw = (prompt && *prompt) ? TEXTW(prompt) : 0;
 	inputw = MIN(inputw, mw/3);
 	match();
 
-- 
2.15.1
Received on Thu Dec 07 2017 - 22:46:14 CET

This archive was generated by hypermail 2.3.0 : Thu Dec 07 2017 - 22:48:25 CET