How to register client at xfce session

Fabrice Delliaux netbox253 at gmail.com
Fri Feb 8 13:10:37 CET 2019


Le 07/02/19 à 12:04, Silvio Knizek a tapoté :
> > How can I register with xfce session manager if it comes without
> > RegisterClient method? 
> > 

In my app I've done this by following the first five paragraphs of this
document (and linking to the library) :

	https://www.x.org/releases/X11R7.7/doc/libSM/SMlib.html

My app registers to the session manager. Then I simply need the
end-of-session signal to free resources and exit cleanly. It works fine
in Xfce, and other desktops I guess.


More information about the Xfce4-dev mailing list