RE: XForms: Killing child whe window manager window closed is use

Sexton, Veronica (sextonv@doimex1.sill.army.mil)
Thu, 22 Jul 1999 12:16:52 -0500

# To subscribers of the xforms list from "Sexton, Veronica" <sextonv@DOIMEX1.SILL.ARMY.MIL> :

I am not sure if this works for the 'X' button (but I think it does) -- try
using fl_set_atclose() or fl_set_form_atclose. These will register a
function (of yours) to be called before killing the window. (These will
work with the menu options on the '-' button also - close, delete window,
etc.)

Veronica

> -----Original Message-----
> From: Jeff PIerce [SMTP:piercej@preferred.com]
> Sent: Thursday, July 22, 1999 11:00 AM
> To: xforms
> Subject: XForms: Killing child whe window manager window closed is
> used
>
> # To subscribers of the xforms list from Jeff PIerce
> <piercej@preferred.com> :
>
> This may be more of a X programming question.
>
> Does anybody know what signal is sent to a running program when the
> upper right "close" square,"X", is triggered, fvwm-95?
>
> I am working on a simple mp3 player spawning xpg123 to do the playing.
> However, if you close the xforms window using the window manager button,
> the child does not get killed and continues to play.
>
> I have tried catching SIGINT, SIGKILL, SIGTERM. The proces are never
> entered. I tried fl_set_form_atdeactivate(), it is never entered.
>
> How the hell do you catch a kill from the window manager? I have seen
> some apps that the window manager's kill is deactivated, xbomb for
> example, so you have to use an app entry to kill the app. How is this
> done?
>
> --
> Jeff Pierce
> piercej@preferred.com
> _________________________________________________
> To unsubscribe, send the message "unsubscribe" to
> xforms-request@bob.usuhs.mil or see
> http://bob.usuhs.mil/mailserv/xforms.html
> XForms Home Page: http://bragg.phys.uwm.edu/xforms
> List Archive: http://bob.usuhs.mil/mailserv/list-archives/
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/