Re: [hackers] [dmenu] fix incorrect comment, math is hard || Hiltjo Posthuma
Hi Quentin,
On Sat, Apr 30, 2022 at 05:07:32PM +0200, Quentin Rameau wrote:
> - inputw = mw / 3; /* input width: ~33% of monitor width */
> + inputw = mw / 3; /* input width: ~33.333% of monitor width */
You tried.
diff --git a/dmenu.c b/dmenu.c
index 571bc35..3595267 100644
--- a/dmenu.c
+++ b/dmenu.c
_AT_@ -673,7 +673,7 @@ setup(void)
mw = wa.width;
}
promptw = (prompt && *prompt) ? TEXTW(prompt) - lrpad / 4 : 0;
- inputw = mw / 3; /* input width: ~33.333% of monitor width */
+ inputw = mw / 3; /* input width: 1/3rd of monitor width */
match();
/* create menu window */
- NRK
Received on Sun May 01 2022 - 10:08:58 CEST
This archive was generated by hypermail 2.3.0
: Sun May 01 2022 - 10:12:37 CEST