Re: [hackers] Re: [dwm][PATCH] Proper restart function

2021-03-08 Thread toluschr
On Monday, March 8, 2021 2:49 PM, Hiltjo Posthuma wrote: > On Mon, Mar 08, 2021 at 11:29:12AM +, Tolu2 wrote: > > > On Saturday, March 6, 2021 4:59 PM toluschr wrote: > > > > > The currently available patch reads /proc/self/exe, which fails when > > >

[hackers] [dwm][PATCH] Proper restart function

2021-03-06 Thread toluschr
The currently available patch reads /proc/self/exe, which fails when recompiling (Why else would I want to restart dwm?) This patch simply saves the commandline arguments on startup and re-executes them. --- dwm.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git