Re: [dwm] patch to not reparent children to init

2008-11-05 Thread Anselm R Garbe
Well, catching all zombies is a tricky task. AFAIK the SIGCHILD handler on its own is no reliable solution on all systems. There were several iterations regarding spawn() during the time, most of them happened at wmii times and the old double-fork() was the most reliable and simple solution, which

Re: [dwm] make setlayout toggle

2008-11-05 Thread Anselm R Garbe
2008/11/4 Neale Pickett [EMAIL PROTECTED]: yy [EMAIL PROTECTED] writes: After a quick look, I think the last check in the first if should be arg-v != lt[sellt^1] Yes, that's what it should have said. I wonder how it was working for me before, when I sent the code to the list. [cue

Re: [dwm] make setlayout toggle

2008-11-05 Thread Thayer Williams
On Wed, Nov 5, 2008 at 1:39 AM, Anselm R Garbe [EMAIL PROTECTED] wrote: Ok, are there any concerns making this upstream again? (Yes I know, we had this already in earlier versions, by that time it was called togglelayout())... There were reasons for not toggling, basically it was confusing to

Re: [dwm] make setlayout toggle

2008-11-05 Thread Donald Chai
On Wed, Nov 5, 2008 at 1:39 AM, Anselm R Garbe [EMAIL PROTECTED] wrote: Ok, are there any concerns making this upstream again? (Yes I know, we had this already in earlier versions, by that time it was called togglelayout())... There were reasons for not toggling, basically it was confusing to

Re: [dwm] make setlayout toggle

2008-11-05 Thread Neale Pickett
Donald Chai [EMAIL PROTECTED] writes: The proposed change would add inconsistency, unless if people want the second MOD+1 to jump to the previously selected set of tags or do some other weird thing. I think that would make more sense if all available layouts were shown at the top like the

Re: [dwm] make setlayout toggle

2008-11-05 Thread Thayer Williams
On Wed, Nov 5, 2008 at 6:39 PM, Neale Pickett [EMAIL PROTECTED] wrote: Donald Chai [EMAIL PROTECTED] writes: The proposed change would add inconsistency, unless if people want the second MOD+1 to jump to the previously selected set of tags or do some other weird thing. I think that would

Re: [dwm] patch to not reparent children to init

2008-11-05 Thread Donald Chai
On Tue, Nov 4, 2008 at 9:09 AM, Neale Pickett [EMAIL PROTECTED] wrote: Reparenting everything to init with the double-fork is a nightmare on a many-user machine, especially when I'm logged in more than once. pstree becomes useless. This sets up a SIGCHLD handler and only forks once. Adds 2