What happens when logging out to the applications?

Enrico Tröger enrico.troeger at uvena.de
Thu Jul 6 11:17:13 CEST 2006


Hi,

I'm a bit confused.
Until now, I thought when I'm logging out and my session is saved, all
running applications get signal 15(SIGTERM) and therefore quit.

But it seems, that this is not the case. I had a look in
xfce4-session's code and if I read it correctly it calls SmsSaveYourself
(). And I guess, this function sends a kind of signal or message to
each application to ask it to quit.

How can I react on this signal in my (GTK-)application?

Regards,
Enrico

P.S.: I know, this is not really Xfce-related.

-- 
Get my GPG key from http://www.uvena.de/pub.key
Geany, a lightweight IDE using GTK2 - http://geany.uvena.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060706/031f5e51/attachment.pgp>


More information about the Xfce4-dev mailing list