XForms: Killing child whe window manager window closed is used

Jeff PIerce (piercej@preferred.com)
Thu, 22 Jul 1999 11:59:35 -0400

# 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/