Re: [PATCH] FvwmButtons transient avoid destroy

2011-11-26 Thread Dominique Michel
Le Fri, 25 Nov 2011 09:18:52 +, Thomas Adam tho...@fvwm.org a écrit : On Fri, Nov 25, 2011 at 12:47:06AM -0600, David Fries wrote: Sending a SIGTERM to FvwmButtons works to gracefully unswallow a program called stalonetray which is a system tray. Setting -transient on the FvwmButtons

Re: [PATCH] FvwmButtons transient avoid destroy

2011-11-26 Thread Thomas Adam
On Sat, Nov 26, 2011 at 12:37:16PM +0100, Dominique Michel wrote: Le Fri, 25 Nov 2011 09:18:52 +, Thomas Adam tho...@fvwm.org a écrit : On Fri, Nov 25, 2011 at 12:47:06AM -0600, David Fries wrote: Sending a SIGTERM to FvwmButtons works to gracefully unswallow a program called

Re: [PATCH] FvwmButtons transient avoid destroy

2011-11-26 Thread Thomas Adam
On Sat, Nov 26, 2011 at 12:37:16PM +0100, Dominique Michel wrote: Both stalonetray and trayer will be killed and restarted during a restart. And it work fine with compliant applications. Why? The exit handling in FvwmButtons will take care of this, and forcibly killing stalonetray or trayer in

Re: [PATCH] FvwmButtons transient avoid destroy

2011-11-26 Thread Dominique Michel
Le Sat, 26 Nov 2011 11:46:07 +, Thomas Adam tho...@fvwm.org a écrit : On Sat, Nov 26, 2011 at 12:37:16PM +0100, Dominique Michel wrote: Both stalonetray and trayer will be killed and restarted during a restart. And it work fine with compliant applications. Why? The exit handling in

Re: [PATCH] FvwmButtons transient avoid destroy

2011-11-26 Thread Dominique Michel
Le Sat, 26 Nov 2011 11:42:47 +, Thomas Adam tho...@fvwm.org a écrit : On Sat, Nov 26, 2011 at 12:37:16PM +0100, Dominique Michel wrote: Le Fri, 25 Nov 2011 09:18:52 +, Thomas Adam tho...@fvwm.org a écrit : On Fri, Nov 25, 2011 at 12:47:06AM -0600, David Fries wrote: Sending

Re: [PATCH] FvwmButtons transient avoid destroy

2011-11-25 Thread David Fries
On Fri, Nov 25, 2011 at 09:18:52AM +, Thomas Adam wrote: On Fri, Nov 25, 2011 at 12:47:06AM -0600, David Fries wrote: Sending a SIGTERM to FvwmButtons works to gracefully unswallow a program called stalonetray which is a system tray. Setting -transient on the FvwmButtons panel is

Re: [PATCH] FvwmButtons transient avoid destroy

2011-11-25 Thread Thomas Adam
On 25 November 2011 17:53, David Fries da...@fries.net wrote: I took another look and did some tests.  DeadPipeCleanup is called atexit().  With my patch and -transient, the Swallow flag Kill is The code is clear about this point. causing the X-server to close to the connection to that

[PATCH] FvwmButtons transient avoid destroy

2011-11-24 Thread David Fries
Sending a SIGTERM to FvwmButtons works to gracefully unswallow a program called stalonetray which is a system tray. Setting -transient on the FvwmButtons panel is calling XDestroyWindow and in term causes the programs with items in the system tray to crash with a bad window error. I'm removing