Re: cwm reload support

2012-10-31 Thread Kent R. Spillner
Hey, dude- > This looks really ugly to me. Save argv[] approach below. That's much nicer. I'm running with your diff here; no regressions. Thanks again! Best, Kent

Re: cwm reload support

2012-10-31 Thread Okan Demirmen
On Wed 2012.10.31 at 20:40 +0400, Alexander Polakov wrote: > * Kent R. Spillner [121031 01:20]: > > Howdy- > > > > > > > It seems people do really use that. How about this diff? > > > > > In short: do u_exec("cwm") in conf_reload(). This should probably be > > > > > u_exec(somewhere-argv0-is-save

Re: cwm reload support

2012-10-31 Thread Alexander Polakov
* Kent R. Spillner [121031 01:20]: > Howdy- > > > > > It seems people do really use that. How about this diff? > > > > In short: do u_exec("cwm") in conf_reload(). This should probably be > > > > u_exec(somewhere-argv0-is-saved). > > > > > > or use __progname ; also rename from 'reload' to 'rest

Re: cwm reload support

2012-10-31 Thread Todd T. Fries
I for one will not. Re-exec is simple enough, why maintain two codepaths when only one is regularly used? ok todd@ Thanks, Penned by Okan Demirmen on 20121029 18:32.16, we have: | will anyone miss reload support? one can always re-exec cwm, or any | other wm for a matter of fact. | | Index: c

Re: cwm reload support

2012-10-30 Thread Kent R. Spillner
Howdy- > > > It seems people do really use that. How about this diff? > > > In short: do u_exec("cwm") in conf_reload(). This should probably be > > > u_exec(somewhere-argv0-is-saved). > > > > or use __progname ; also rename from 'reload' to 'restart' > > I like this approach a lot. Here's an u

Re: cwm reload support

2012-10-30 Thread Kent R. Spillner
Hey, dude- > > It seems people do really use that. How about this diff? > > In short: do u_exec("cwm") in conf_reload(). This should probably be > > u_exec(somewhere-argv0-is-saved). > > or use __progname ; also rename from 'reload' to 'restart' I like this approach a lot. Here's an update whic

Re: cwm reload support

2012-10-30 Thread Janne Johansson
2012/10/30 Okan Demirmen : > will anyone miss reload support? one can always re-exec cwm, or any > other wm for a matter of fact. > I use cwm and will not miss reload. -- To our sweethearts and wives. May they never meet. -- 19th century toast

Re: cwm reload support

2012-10-30 Thread Okan Demirmen
On Tue 2012.10.30 at 18:27 +0400, Alexander Polakov wrote: > * Alexander Polakov [121030 14:40]: > > * Okan Demirmen [121030 04:10]: > > > will anyone miss reload support? one can always re-exec cwm, or any > > > other wm for a matter of fact. > > > > I don't know the keybinding for it. It's us

Re: cwm reload support

2012-10-30 Thread Alexander Polakov
* Alexander Polakov [121030 14:40]: > * Okan Demirmen [121030 04:10]: > > will anyone miss reload support? one can always re-exec cwm, or any > > other wm for a matter of fact. > > I don't know the keybinding for it. It's useless :-) It seems people do really use that. How about this diff? In

Re: cwm reload support

2012-10-30 Thread Stuart Henderson
On 2012/10/29 19:32, Okan Demirmen wrote: > will anyone miss reload support? one can always re-exec cwm, or any > other wm for a matter of fact. yes - I use this when I've updated the config file - re-exec would be ok because the window groups etc are memorized between instances, but I'd quite li

Re: cwm reload support

2012-10-30 Thread Alexander Polakov
* Okan Demirmen [121030 04:10]: > will anyone miss reload support? one can always re-exec cwm, or any > other wm for a matter of fact. I don't know the keybinding for it. It's useless :-) -- Alexander Polakov | plhk.ru

Re: cwm reload support

2012-10-30 Thread Thomas Pfaff
On Mon, 29 Oct 2012 19:32:16 -0400 Okan Demirmen wrote: > will anyone miss reload support? one can always re-exec cwm, or any > other wm for a matter of fact. I use this function once in a while but sure, I can always restart cwm. You remove a bit of code here which is more important to me than

Re: cwm reload support

2012-10-30 Thread Kent R. Spillner
Hey, dude- > will anyone miss reload support? one can always re-exec cwm, or any > other wm for a matter of fact. I use it every once in a while, but I won't miss it. Out of curiousity, though, what's the motivation? Too many hacks for handling config changes that should be visible on the scre

Re: cwm reload support

2012-10-30 Thread Antoine Jacoutot
On Mon, Oct 29, 2012 at 07:32:16PM -0400, Okan Demirmen wrote: > will anyone miss reload support? one can always re-exec cwm, or any > other wm for a matter of fact. I use it often, but if there is another way to achieve the same thing, I won't cry over it. > > Index: calmwm.h > =

cwm reload support

2012-10-29 Thread Okan Demirmen
will anyone miss reload support? one can always re-exec cwm, or any other wm for a matter of fact. Index: calmwm.h === RCS file: /home/open/cvs/xenocara/app/cwm/calmwm.h,v retrieving revision 1.153 diff -u -p -r1.153 calmwm.h --- cal