Re: [hackers] [dmenu] fix incorrect comment, math is hard || Hiltjo Posthuma

2022-04-30 Thread Quentin Rameau
Hi Hiljto, > fix incorrect comment, math is hard diff --git a/dmenu.c b/dmenu.c index 571bc35..3595267 100644 --- a/dmenu.c +++ b/dmenu.c @@ -673,7 +673,7 @@ setup(void) mw = wa.width; } promptw = (prompt && *prompt) ? TEXTW(prompt) - lrpad / 4 : 0; -

Re: [hackers] [dmenu] inputw: improve correctness and startup performance, by NRK || Hiltjo Posthuma

2022-04-30 Thread NRK
On Sat, Apr 30, 2022 at 01:28:49PM +0200, Hiltjo Posthuma wrote: > Whats your monitor resolution width? I'm currently using 1366x768. Don't think it's worth optimizing for that resolution as most people use 1080p nowadays. > Whats your suggestion to improve it in a general sense? > > The

[hackers] [dmenu] fix incorrect comment, math is hard || Hiltjo Posthuma

2022-04-30 Thread git
commit fe5d5c6709a77ac5d554e26dda76a67df68618ae Author: Hiltjo Posthuma AuthorDate: Sat Apr 30 13:19:33 2022 +0200 Commit: Hiltjo Posthuma CommitDate: Sat Apr 30 13:19:33 2022 +0200 fix incorrect comment, math is hard diff --git a/dmenu.c b/dmenu.c index 4e286cf..571bc35 100644 ---

Re: [hackers] [dmenu] inputw: improve correctness and startup performance, by NRK || Hiltjo Posthuma

2022-04-30 Thread NRK
On Sat, Apr 30, 2022 at 11:15:38AM +0200, Hiltjo Posthuma wrote: > The previous maximum width also used about 30% of the monitor width. Should've clarified, I didn't quite like the previous max either. But that wouldn't get triggered before on small input strings. But since the width is static

Re: [hackers] [dmenu] inputw: improve correctness and startup performance, by NRK || Hiltjo Posthuma

2022-04-30 Thread Hiltjo Posthuma
On Sat, Apr 30, 2022 at 10:45:09AM +0600, NRK wrote: > On Fri, Apr 29, 2022 at 08:19:20PM +0200, g...@suckless.org wrote: > > commit e1e1de7b3b8399cba90ddca9613f837b2dbef7b9 > > Author: Hiltjo Posthuma > > AuthorDate: Fri Apr 29 20:15:48 2022 +0200 > > Commit: Hiltjo Posthuma > >