[hackers] [st][PATCH] fix a problem that the standard streams are unexpectedly closed

2021-08-19 Thread Koichi Murase
because the standard error output (fd 2) is unexpectedly closed. Fix: I attach a patch file: - st-DontCloseStandardStreamsUnexpectedly-20210819-2ec571a.diff In this patch, the original master PTY (m) is closed before it would be overwritten by duplicated slave PTYs. The original slave PTY

Re: [hackers] [dwm][PATCH] Fix wrong computation in drw_text

2021-08-19 Thread Viktor Grigorov
This results in 1-character elements being unrendered. I was wondering why two of my surfraw elvi were blank, they just were getting drawn. Aug 16, 2021, 20:17 by suckl...@jochen.sprickerhof.de: > From: Jochen Sprickerhof > > In case lpad * 2 > w, w - lpad * 2 wraps around and comparing it

Re: [hackers] [dwm][PATCH] Fix wrong computation in drw_text

2021-08-19 Thread Hiltjo Posthuma
On Thu, Aug 19, 2021 at 05:30:14AM +0200, Viktor Grigorov wrote: > This results in 1-character elements being unrendered. > I was wondering why two of my surfraw elvi were blank, they just were getting > drawn. > > Aug 16, 2021, 20:17 by suckl...@jochen.sprickerhof.de: > > > From: Jochen